Class AnimationCache
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public static class AnimationCache
- Inheritance
-
AnimationCache
- Inherited Members
Methods
ClearCache(ICoreAPI)
Clears the animation cache.
public static void ClearCache(ICoreAPI api)
Parameters
api
ICoreAPI
ClearCache(ICoreAPI, Entity)
Clears the animation cache.
public static void ClearCache(ICoreAPI api, Entity entity)
Parameters
InitManager(ICoreAPI, IAnimationManager, Entity, Shape, RunningAnimation[], params string[])
Initializes the cache to the Animation Manager then spits it back out.
public static IAnimationManager InitManager(ICoreAPI api, IAnimationManager manager, Entity entity, Shape entityShape, RunningAnimation[] copyOverAnims, params string[] requireJointsForElements)
Parameters
api
ICoreAPImanager
IAnimationManagerentity
EntityentityShape
ShapecopyOverAnims
RunningAnimation[]requireJointsForElements
string[]