Package zombie.core.skinnedmodel.model
Class ModelMesh
java.lang.Object
zombie.asset.Asset
zombie.core.skinnedmodel.model.ModelMesh
public final class ModelMesh extends Asset
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelMesh.MeshAssetParamsNested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State -
Field Summary
Fields Modifier and Type Field Description static AssetTypeASSET_TYPEModelMesh.MeshAssetParamsassetParamsprotected booleanbStaticModelMeshm_animationsMeshjava.lang.Stringm_fullPathMatrix4fm_transformSkinningDataskinningDataSoftwareModelMeshsoftwareMeshVertexBufferObjectvbFields inherited from class zombie.asset.Asset
m_asset_manager -
Constructor Summary
Constructors Constructor Description ModelMesh(AssetPath assetPath, AssetManager assetManager, ModelMesh.MeshAssetParams meshAssetParams) -
Method Summary
Modifier and Type Method Description voidclear()voidDraw(Shader shader)AssetTypegetType()voidonBeforeReady()protected voidonLoadedTxt(ModelTxt modelTxt)protected voidonLoadedX(ProcessedAiScene processedAiScene)voidsetAssetParams(AssetManager.AssetParams assetParams)voidSetVertexBuffer(VertexBufferObject vertexBufferObject)Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onBeforeEmpty, onCreated, removeDependencyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
vb
-
skinningData
-
softwareMesh
-
assetParams
-
m_transform
-
bStatic
protected boolean bStatic -
m_animationsMesh
-
m_fullPath
public java.lang.String m_fullPath -
ASSET_TYPE
-
-
Constructor Details
-
ModelMesh
public ModelMesh(AssetPath assetPath, AssetManager assetManager, ModelMesh.MeshAssetParams meshAssetParams)
-
-
Method Details
-
onLoadedX
-
onLoadedTxt
-
SetVertexBuffer
-
Draw
-
onBeforeReady
public void onBeforeReady()- Overrides:
onBeforeReadyin classAsset
-
setAssetParams
- Overrides:
setAssetParamsin classAsset
-
getType
-
clear
public void clear()
-