Table of Contents

Class GenericPlatformAnimatorBindings

Namespace
nadena.dev.ndmf.animator
public sealed class GenericPlatformAnimatorBindings : IPlatformAnimatorBindings
Inheritance
GenericPlatformAnimatorBindings
Implements
Inherited Members

Fields

Instance

public static readonly GenericPlatformAnimatorBindings Instance

Field Value

GenericPlatformAnimatorBindings

Methods

CommitControllers(GameObject, IDictionary<object, RuntimeAnimatorController>)

Updates any innate controllers to reference new animator controllers.

public void CommitControllers(GameObject root, IDictionary<object, RuntimeAnimatorController> controllers)

Parameters

root GameObject
controllers IDictionary<object, RuntimeAnimatorController>

GetInnateControllers(GameObject)

Returns any animator controllers that are referenced by platform-specific assets (e.g. VRCAvatarDescriptor). The bool flag indicates whether the controller is overridden (true) or left as default (false).

public IEnumerable<(object, RuntimeAnimatorController, bool)> GetInnateControllers(GameObject root)

Parameters

root GameObject

Returns

IEnumerable<(object, RuntimeAnimatorController, bool)>

IsSpecialMotion(Motion)

If true, the motion asset should be maintained as-is without replacement or modification.

public bool IsSpecialMotion(Motion m)

Parameters

m Motion

Returns

bool