Package zombie.core.skinnedmodel.model
Class ModelInstance
java.lang.Object
zombie.core.skinnedmodel.model.ModelInstance
public class ModelInstance
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
alpha
AnimationPlayer
AnimPlayer
IsoGameCharacter
character
boolean
isVehicleBody
boolean
isVehicleWheel
IsoLightSource[]
lights
Model
model
IsoMovingObject
object
Vector3f[]
origin
Vector3f
painColor
float
refBody
float
refWindows
Texture
tex
Matrix4f
textureDamage1Enables1
Matrix4f
textureDamage1Enables2
Texture
textureDamage1Overlay
Texture
textureDamage1Shell
Matrix4f
textureDamage2Enables1
Matrix4f
textureDamage2Enables2
Texture
textureDamage2Overlay
Texture
textureDamage2Shell
Texture
textureLights
Matrix4f
textureLightsEnables2
Texture
textureMask
Texture
textureRust
float
textureRustA
Matrix4f
textureUninstall1
Matrix4f
textureUninstall2
float
tintB
float
tintG
float
tintR
boolean
updateLights
Vector3f[]
worldPos
Matrix4f[]
xfrm
-
Constructor Summary
Constructors Constructor Description ModelInstance(Model model, IsoGameCharacter gameCharacter, AnimationPlayer animationPlayer, boolean boolean1, boolean boolean2)
-
Method Summary
Modifier and Type Method Description void
Draw()
void
LoadTexture(java.lang.String string)
AnimationTrack
Play(java.lang.String string, boolean boolean1, boolean boolean2, IsoGameCharacter gameCharacter)
void
SetDir(Vector2 vector2)
void
Update(float float1)
void
UpdateDir()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
model
-
AnimPlayer
-
tex
-
textureRust
-
textureMask
-
textureLights
-
textureDamage1Overlay
-
textureDamage1Shell
-
textureDamage2Overlay
-
textureDamage2Shell
-
isVehicleBody
public boolean isVehicleBody -
isVehicleWheel
public boolean isVehicleWheel -
textureUninstall1
-
textureUninstall2
-
textureLightsEnables2
-
textureDamage1Enables1
-
textureDamage1Enables2
-
textureDamage2Enables1
-
textureDamage2Enables2
-
textureRustA
public float textureRustA -
refWindows
public float refWindows -
refBody
public float refBody -
alpha
public float alpha -
painColor
-
character
-
object
-
origin
-
xfrm
-
worldPos
-
updateLights
public boolean updateLights -
tintR
public float tintR -
tintG
public float tintG -
tintB
public float tintB -
lights
-
-
Constructor Details
-
ModelInstance
public ModelInstance(Model model, IsoGameCharacter gameCharacter, AnimationPlayer animationPlayer, boolean boolean1, boolean boolean2)
-
-
Method Details
-
LoadTexture
public void LoadTexture(java.lang.String string) -
Draw
public void Draw() -
Play
public AnimationTrack Play(java.lang.String string, boolean boolean1, boolean boolean2, IsoGameCharacter gameCharacter) -
UpdateDir
public void UpdateDir() -
Update
public void Update(float float1) -
SetDir
-