Class ContraptionRenderInfo
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionRenderInfo
- Direct Known Subclasses:
RenderedContraption
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContraptionRenderInfo(Contraption contraption, PlacementSimulationWorld renderWorld) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginFrame(com.jozufozu.flywheel.event.BeginFrameEvent event) intIf #setupMatrices is called correctly, the returned matrices will be readyvoidbooleanisDead()booleanvoidsetupMatrices(com.mojang.blaze3d.vertex.PoseStack viewProjection, double camX, double camY, double camZ) Need to call this during RenderLayerEvent.
-
Field Details
-
contraption
-
renderWorld
-
-
Constructor Details
-
ContraptionRenderInfo
-
-
Method Details
-
getEntityId
public int getEntityId() -
isDead
public boolean isDead() -
beginFrame
public void beginFrame(com.jozufozu.flywheel.event.BeginFrameEvent event) -
isVisible
public boolean isVisible() -
setupMatrices
public void setupMatrices(com.mojang.blaze3d.vertex.PoseStack viewProjection, double camX, double camY, double camZ) Need to call this during RenderLayerEvent. -
getMatrices
If #setupMatrices is called correctly, the returned matrices will be ready -
invalidate
public void invalidate()
-