Class ModelInstance
java.lang.Object
zombie.util.ReferencedObject
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 classstatic enumstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfinal Objectstatic final floatstatic final floatintintbooleanfloatfinal ArrayList<ModelInstance> floatfloatfloatfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyModelScriptScale(String modelName) voidclearOwner(Object expectedOwner) voidvoiddismember(int bone) getAttachment(int index) org.joml.Matrix4fgetAttachmentMatrix(int index, org.joml.Matrix4f out) org.joml.Matrix4fgetAttachmentMatrix(ModelAttachment attachment, org.joml.Matrix4f out) org.joml.Matrix4fgetAttachmentMatrixById(String id, org.joml.Matrix4f out) voidgetAttachmentWorldPosition(ModelAttachment attachment, float yawAngle, Vector3 worldPosition, Vector3 worldDirectionUnnormalized) voidgetAttachmentWorldPosition(ModelAttachment attachment, Vector3 worldPosition, Vector3 worldDirectionUnnormalized) getOwner()booleaninit(Model model, IsoGameCharacter character, AnimationPlayer player) booleanvoidLoadTexture(String name) voidreset()voidSetForceDir(Vector2 dir) voidsetInstanceSkip(int c) voidsetItemVisual(ItemVisual itemVisual) voidvoidsetTextureInitializer(ModelInstanceTextureInitializer textureInitializer) voidUpdate(float deltaT) voidvoid
-
Field Details
-
MODEL_LIGHT_MULT_OUTSIDE
public static final float MODEL_LIGHT_MULT_OUTSIDE- See Also:
-
MODEL_LIGHT_MULT_ROOM
public static final float MODEL_LIGHT_MULT_ROOM- See Also:
-
model
-
animPlayer
-
data
-
tex
-
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 -
resetAfterRender
public boolean resetAfterRender -
renderRefCount
public int renderRefCount -
lock
-
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 deltaT) -
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() -
getAttachmentWorldPosition
public void getAttachmentWorldPosition(ModelAttachment attachment, Vector3 worldPosition, Vector3 worldDirectionUnnormalized) -
getAttachmentWorldPosition
public void getAttachmentWorldPosition(ModelAttachment attachment, float yawAngle, Vector3 worldPosition, Vector3 worldDirectionUnnormalized)
-