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 float
depthBias
float
hue
protected ModelInstanceDebugRenderData
m_debugRenderData
boolean
m_muzzleFlash
java.nio.FloatBuffer
matrixPalette
Model
model
ModelInstance
modelInstance
int
parentBone
SoftwareModelMeshInstance
softwareMesh
Texture
tex
float
tintB
float
tintG
float
tintR
Matrix4f
xfrm
-
Constructor Summary
Constructors Constructor Description ModelInstanceRenderData()
-
Method Summary
Modifier and Type Method Description static ModelInstanceRenderData
alloc()
static void
applyBoneTransform(ModelInstance modelInstance, java.lang.String string, Matrix4f matrix4f)
ModelInstanceRenderData
init(ModelInstance modelInstance)
static Matrix4f
makeAttachmentTransform(ModelAttachment modelAttachment, Matrix4f matrix4f)
static void
release(java.util.ArrayList arrayList)
void
RenderCharacter(ModelSlotRenderData modelSlotRenderData)
void
renderDebug()
void
RenderVehicle(ModelSlotRenderData modelSlotRenderData)
ModelInstanceRenderData
transformToParent(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)
-