Package zombie.core.skinnedmodel.model
Class AnimationAsset
java.lang.Object
zombie.asset.Asset
zombie.core.skinnedmodel.model.AnimationAsset
public final class AnimationAsset extends Asset
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnimationAsset.AnimationAssetParamsNested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State -
Field Summary
Fields Modifier and Type Field Description java.util.HashMapAnimationClipsstatic AssetTypeASSET_TYPEAnimationAsset.AnimationAssetParamsassetParamsModelManager.ModAnimationsmodAnimationsjava.lang.StringmodelManagerKeySkinningDataskinningDataFields inherited from class zombie.asset.Asset
m_asset_manager -
Constructor Summary
Constructors Constructor Description AnimationAsset(AssetPath assetPath, AssetManager assetManager, AnimationAsset.AnimationAssetParams animationAssetParams) -
Method Summary
Modifier and Type Method Description AssetTypegetType()voidonBeforeReady()protected voidonLoadedTxt(ModelTxt modelTxt)protected voidonLoadedX(ProcessedAiScene processedAiScene)voidsetAssetParams(AssetManager.AssetParams assetParams)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
-
AnimationClips
public java.util.HashMap AnimationClips -
assetParams
-
skinningData
-
modelManagerKey
public java.lang.String modelManagerKey -
modAnimations
-
ASSET_TYPE
-
-
Constructor Details
-
AnimationAsset
public AnimationAsset(AssetPath assetPath, AssetManager assetManager, AnimationAsset.AnimationAssetParams animationAssetParams)
-
-
Method Details
-
onLoadedX
-
onLoadedTxt
-
onBeforeReady
public void onBeforeReady()- Overrides:
onBeforeReadyin classAsset
-
setAssetParams
- Overrides:
setAssetParamsin classAsset
-
getType
-