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 class
AnimationAsset.AnimationAssetParams
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
Fields Modifier and Type Field Description java.util.HashMap
AnimationClips
static AssetType
ASSET_TYPE
AnimationAsset.AnimationAssetParams
assetParams
ModelManager.ModAnimations
modAnimations
java.lang.String
modelManagerKey
SkinningData
skinningData
Fields 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 AssetType
getType()
void
onBeforeReady()
protected void
onLoadedTxt(ModelTxt modelTxt)
protected void
onLoadedX(ProcessedAiScene processedAiScene)
void
setAssetParams(AssetManager.AssetParams assetParams)
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onBeforeEmpty, onCreated, removeDependency
Methods 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:
onBeforeReady
in classAsset
-
setAssetParams
- Overrides:
setAssetParams
in classAsset
-
getType
-