Class ModelSlotRenderData
java.lang.Object
zombie.core.textures.TextureDraw.GenericDrawer
zombie.core.skinnedmodel.model.ModelSlotRenderData
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatfloatfloatbooleanfinal ModelInstance.EffectLight[]floatbooleanfloatfloatfloatbooleanfinal ShaderPropertyBlockbooleanstatic Shaderstatic Shaderfloatfloatfloatfloatfinal org.joml.Matrix4ffloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSlotRenderDataalloc()booleanbooleaninit(ModelManager.ModelSlot modelSlot) voidinitModel(ModelManager.ModelSlot modelSlot) booleanvoidperformRenderCharacterOutline(boolean bPlayerToMask, ColorInfo outlineColor, boolean bOutlineBehindPlayer) voidvoidrender()voidrenderCard(Imposter imposter) voidvoidrenderToImposterCard(Imposter imposter) voidUpdateCharacter(ShaderPropertyBlock properties, boolean bIgnoreLighting) Methods inherited from class TextureDraw.GenericDrawer
render
-
Field Details
-
character
-
object
-
modelSlot
-
modelData
-
textureCreator
-
animPlayer
-
animPlayerAngle
public float animPlayerAngle -
x
public float x -
y
public float y -
z
public float z -
ambientR
public float ambientR -
ambientG
public float ambientG -
ambientB
public float ambientB -
outside
public boolean outside -
finalScale
public float finalScale -
debugChunkState
public boolean debugChunkState -
vehicleTransform
public final org.joml.Matrix4f vehicleTransform -
inVehicle
public boolean inVehicle -
inVehicleX
public float inVehicleX -
inVehicleY
public float inVehicleY -
inVehicleZ
public float inVehicleZ -
vehicleAngleX
public float vehicleAngleX -
vehicleAngleY
public float vehicleAngleY -
vehicleAngleZ
public float vehicleAngleZ -
alpha
public float alpha -
effectLights
-
centerOfMassY
public float centerOfMassY -
renderToTexture
public boolean renderToTexture -
solidColor
-
solidColorStatic
-
squareDepth
public float squareDepth -
properties
-
-
Constructor Details
-
ModelSlotRenderData
public ModelSlotRenderData()
-
-
Method Details
-
IsRenderingToCard
public boolean IsRenderingToCard() -
initModel
-
init
-
UpdateCharacter
-
render
public void render()- Specified by:
renderin classTextureDraw.GenericDrawer
-
renderDebug
public void renderDebug() -
renderToImposterCard
-
renderCard
-
checkReady
public boolean checkReady() -
canRender
public boolean canRender() -
getModelData
-
performRenderCharacterOutline
public void performRenderCharacterOutline(boolean bPlayerToMask, ColorInfo outlineColor, boolean bOutlineBehindPlayer) -
postRender
public void postRender()- Overrides:
postRenderin classTextureDraw.GenericDrawer
-
alloc
-