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
Nested ClassesModifier and TypeClassDescriptionstatic final class
static enum
static final class
static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
float
float
final Object
static float
static float
int
int
float
final ArrayList
<ModelInstance> float
float
float
float
-
Constructor Summary
Constructors -
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 int0, org.joml.Matrix4f matrix4f) org.joml.Matrix4f
getAttachmentMatrix
(ModelAttachment modelAttachment, org.joml.Matrix4f matrix4f) org.joml.Matrix4f
getAttachmentMatrixById
(String string, org.joml.Matrix4f matrix4f) void
getAttachmentWorldPosition
(ModelAttachment modelAttachment, float float0, Vector3 vector30, Vector3 vector31) void
getAttachmentWorldPosition
(ModelAttachment modelAttachment, Vector3 vector30, Vector3 vector31) 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
(float float2) 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
-
targetDepth
public float targetDepth -
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(float float2) -
SetForceDir
-
setInstanceSkip
public void setInstanceSkip(int c) -
destroySmartTextures
public void destroySmartTextures() -
updateLights
public void updateLights() -
getItemVisual
-
setItemVisual
-
applyModelScriptScale
-
getAttachment
-
getAttachmentById
-
getAttachmentMatrix
public org.joml.Matrix4f getAttachmentMatrix(ModelAttachment modelAttachment, org.joml.Matrix4f matrix4f) -
getAttachmentMatrix
public org.joml.Matrix4f getAttachmentMatrix(int int0, org.joml.Matrix4f matrix4f) -
getAttachmentMatrixById
-
setOwner
-
clearOwner
-
getOwner
-
setTextureInitializer
-
getTextureInitializer
-
hasTextureCreator
public boolean hasTextureCreator() -
getAttachmentWorldPosition
public void getAttachmentWorldPosition(ModelAttachment modelAttachment, Vector3 vector30, Vector3 vector31) -
getAttachmentWorldPosition
public void getAttachmentWorldPosition(ModelAttachment modelAttachment, float float0, Vector3 vector30, Vector3 vector31)
-