Table of Contents

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

api ICoreAPI
entity Entity

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 ICoreAPI
manager IAnimationManager
entity Entity
entityShape Shape
copyOverAnims RunningAnimation[]
requireJointsForElements string[]

Returns

IAnimationManager