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 floatalphaAnimationPlayerAnimPlayerIsoGameCharactercharacterbooleanisVehicleBodybooleanisVehicleWheelIsoLightSource[]lightsModelmodelIsoMovingObjectobjectVector3f[]originVector3fpainColorfloatrefBodyfloatrefWindowsTexturetexMatrix4ftextureDamage1Enables1Matrix4ftextureDamage1Enables2TexturetextureDamage1OverlayTexturetextureDamage1ShellMatrix4ftextureDamage2Enables1Matrix4ftextureDamage2Enables2TexturetextureDamage2OverlayTexturetextureDamage2ShellTexturetextureLightsMatrix4ftextureLightsEnables2TexturetextureMaskTexturetextureRustfloattextureRustAMatrix4ftextureUninstall1Matrix4ftextureUninstall2floattintBfloattintGfloattintRbooleanupdateLightsVector3f[]worldPosMatrix4f[]xfrm -
Constructor Summary
Constructors Constructor Description ModelInstance(Model model, IsoGameCharacter gameCharacter, AnimationPlayer animationPlayer, boolean boolean1, boolean boolean2) -
Method Summary
Modifier and Type Method Description voidDraw()voidLoadTexture(java.lang.String string)AnimationTrackPlay(java.lang.String string, boolean boolean1, boolean boolean2, IsoGameCharacter gameCharacter)voidSetDir(Vector2 vector2)voidUpdate(float float1)voidUpdateDir()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
-