Package zombie.core.skinnedmodel.model
Class Model
java.lang.Object
zombie.asset.Asset
zombie.core.skinnedmodel.model.Model
public final class Model extends Asset
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Model.ModelAssetParams
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
Fields Modifier and Type Field Description static AssetType
ASSET_TYPE
Model.ModelAssetParams
assetParams
boolean
bStatic
static Color[]
debugDrawColours
Shader
Effect
static java.nio.FloatBuffer
m_staticReusableFloatBuffer
ModelMesh
Mesh
java.lang.String
Name
SoftwareModelMesh
softwareMesh
java.lang.Object
Tag
Texture
tex
Fields inherited from class zombie.asset.Asset
m_asset_manager
-
Constructor Summary
Constructors Constructor Description Model(AssetPath assetPath, AssetManager assetManager, Model.ModelAssetParams modelAssetParams)
-
Method Summary
Modifier and Type Method Description static void
BoneToWorldCoords(IsoGameCharacter gameCharacter, int int1, Vector3 vector3)
static void
BoneToWorldCoords(ModelSlotRenderData modelSlotRenderData, int int1, Vector3 vector3)
static void
BoneYDirectionToWorldCoords(IsoGameCharacter gameCharacter, int int1, Vector3 vector3, float float1)
static void
CharacterModelCameraBegin(ModelSlotRenderData modelSlotRenderData)
static void
CharacterModelCameraEnd()
void
CreateShader(java.lang.String string)
static void
debugDrawAxis(float float1, float float2, float float3, float float4, float float5)
static void
debugDrawLightSource(float float1, float float2, float float3, float float4, float float5, float float6, float float7)
void
debugDrawLightSource(IsoLightSource lightSource, float float1, float float2, float float3, float float4)
static void
drawBoneMtx(org.lwjgl.util.vector.Matrix4f matrix4f)
void
DrawChar(ModelSlotRenderData modelSlotRenderData, ModelInstanceRenderData modelInstanceRenderData)
void
DrawVehicle(ModelSlotRenderData modelSlotRenderData, ModelInstanceRenderData modelInstanceRenderData)
AssetType
getType()
protected void
onBeforeReady()
static void
VectorToWorldCoords(IsoGameCharacter gameCharacter, Vector3 vector3)
static void
VectorToWorldCoords(ModelSlotRenderData modelSlotRenderData, Vector3 vector3)
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onBeforeEmpty, onCreated, removeDependency, setAssetParams
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Name
public java.lang.String Name -
Mesh
-
Effect
-
Tag
public java.lang.Object Tag -
bStatic
public boolean bStatic -
tex
-
softwareMesh
-
m_staticReusableFloatBuffer
public static final java.nio.FloatBuffer m_staticReusableFloatBuffer -
debugDrawColours
-
assetParams
-
ASSET_TYPE
-
-
Constructor Details
-
Model
public Model(AssetPath assetPath, AssetManager assetManager, Model.ModelAssetParams modelAssetParams)
-
-
Method Details
-
VectorToWorldCoords
-
BoneToWorldCoords
-
BoneYDirectionToWorldCoords
public static void BoneYDirectionToWorldCoords(IsoGameCharacter gameCharacter, int int1, Vector3 vector3, float float1) -
VectorToWorldCoords
-
BoneToWorldCoords
public static void BoneToWorldCoords(ModelSlotRenderData modelSlotRenderData, int int1, Vector3 vector3) -
CharacterModelCameraBegin
-
CharacterModelCameraEnd
public static void CharacterModelCameraEnd() -
DrawChar
public void DrawChar(ModelSlotRenderData modelSlotRenderData, ModelInstanceRenderData modelInstanceRenderData) -
drawBoneMtx
public static void drawBoneMtx(org.lwjgl.util.vector.Matrix4f matrix4f) -
debugDrawLightSource
public void debugDrawLightSource(IsoLightSource lightSource, float float1, float float2, float float3, float float4) -
debugDrawLightSource
public static void debugDrawLightSource(float float1, float float2, float float3, float float4, float float5, float float6, float float7) -
DrawVehicle
public void DrawVehicle(ModelSlotRenderData modelSlotRenderData, ModelInstanceRenderData modelInstanceRenderData) -
debugDrawAxis
public static void debugDrawAxis(float float1, float float2, float float3, float float4, float float5) -
CreateShader
public void CreateShader(java.lang.String string) -
getType
-
onBeforeReady
protected void onBeforeReady()- Overrides:
onBeforeReady
in classAsset
-