Package zombie.core.skinnedmodel.model
Class ModelInstanceRenderData
java.lang.Object
zombie.core.skinnedmodel.model.ModelInstanceRenderData
public final class ModelInstanceRenderData
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description floatdepthBiasfloathueprotected ModelInstanceDebugRenderDatam_debugRenderDatabooleanm_muzzleFlashjava.nio.FloatBuffermatrixPaletteModelmodelModelInstancemodelInstanceintparentBoneSoftwareModelMeshInstancesoftwareMeshTexturetexfloattintBfloattintGfloattintRMatrix4fxfrm -
Constructor Summary
Constructors Constructor Description ModelInstanceRenderData() -
Method Summary
Modifier and Type Method Description static ModelInstanceRenderDataalloc()static voidapplyBoneTransform(ModelInstance modelInstance, java.lang.String string, Matrix4f matrix4f)ModelInstanceRenderDatainit(ModelInstance modelInstance)static Matrix4fmakeAttachmentTransform(ModelAttachment modelAttachment, Matrix4f matrix4f)static voidrelease(java.util.ArrayList arrayList)voidRenderCharacter(ModelSlotRenderData modelSlotRenderData)voidrenderDebug()voidRenderVehicle(ModelSlotRenderData modelSlotRenderData)ModelInstanceRenderDatatransformToParent(ModelInstanceRenderData modelInstanceRenderData)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
model
-
tex
-
depthBias
public float depthBias -
hue
public float hue -
tintR
public float tintR -
tintG
public float tintG -
tintB
public float tintB -
parentBone
public int parentBone -
matrixPalette
public java.nio.FloatBuffer matrixPalette -
xfrm
-
softwareMesh
-
modelInstance
-
m_muzzleFlash
public boolean m_muzzleFlash -
m_debugRenderData
-
-
Constructor Details
-
ModelInstanceRenderData
public ModelInstanceRenderData()
-
-
Method Details
-
init
-
renderDebug
public void renderDebug() -
RenderCharacter
-
RenderVehicle
-
makeAttachmentTransform
-
applyBoneTransform
public static void applyBoneTransform(ModelInstance modelInstance, java.lang.String string, Matrix4f matrix4f) -
transformToParent
-
alloc
-
release
public static void release(java.util.ArrayList arrayList)
-