Package zombie.core.skinnedmodel.model
Class ModelInstance
java.lang.Object
zombie.core.skinnedmodel.model.ModelInstance
- Direct Known Subclasses:
VehicleModelInstance
,VehicleSubModelInstance
Created by LEMMYPC on 05/01/14.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
static final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
float
final Object
static float
static float
int
int
float
final ArrayList<ModelInstance>
float
float
float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyModelScriptScale
(String modelName) void
clearOwner
(Object expectedOwner) void
void
dismember
(int bone) getAttachment
(int index) org.joml.Matrix4f
getAttachmentMatrix
(int index, org.joml.Matrix4f out) org.joml.Matrix4f
getAttachmentMatrix
(ModelAttachment attachment, org.joml.Matrix4f out) org.joml.Matrix4f
getAttachmentMatrixById
(String id, org.joml.Matrix4f out) getOwner()
boolean
init
(Model model, IsoGameCharacter character, AnimationPlayer player) boolean
void
LoadTexture
(String name) void
reset()
void
SetForceDir
(Vector2 dir) void
setInstanceSkip
(int c) void
setItemVisual
(ItemVisual itemVisual) void
void
setTextureInitializer
(ModelInstanceTextureInitializer textureInitializer) void
Update()
void
void
-
Field Details
-
MODEL_LIGHT_MULT_OUTSIDE
public static float MODEL_LIGHT_MULT_OUTSIDE -
MODEL_LIGHT_MULT_ROOM
public static float MODEL_LIGHT_MULT_ROOM -
model
-
AnimPlayer
-
data
-
tex
-
m_textureInitializer
-
character
-
object
-
tintR
public float tintR -
tintG
public float tintG -
tintB
public float tintB -
parent
-
parentBone
public int parentBone -
parentBoneName
-
hue
public float hue -
depthBias
public float depthBias -
matrixModel
-
softwareMesh
-
sub
-
bResetAfterRender
public boolean bResetAfterRender -
renderRefCount
public int renderRefCount -
m_lock
-
m_modelScript
-
attachmentNameSelf
-
attachmentNameParent
-
scale
public float scale -
maskVariableValue
-
playerData
-
-
Constructor Details
-
ModelInstance
public ModelInstance()
-
-
Method Details
-
init
-
isRendering
public boolean isRendering() -
reset
public void reset() -
LoadTexture
-
dismember
public void dismember(int bone) -
UpdateDir
public void UpdateDir() -
Update
public void Update() -
SetForceDir
-
setInstanceSkip
public void setInstanceSkip(int c) -
destroySmartTextures
public void destroySmartTextures() -
updateLights
public void updateLights() -
getItemVisual
-
setItemVisual
-
applyModelScriptScale
-
getAttachment
-
getAttachmentById
-
getAttachmentMatrix
-
getAttachmentMatrix
public org.joml.Matrix4f getAttachmentMatrix(int index, org.joml.Matrix4f out) -
getAttachmentMatrixById
-
setOwner
-
clearOwner
-
getOwner
-
setTextureInitializer
-
getTextureInitializer
-
hasTextureCreator
public boolean hasTextureCreator()
-