Class AnimatorServicesContext
Provides a number of NDMF services based on virtualizing animator controllers. While this context is active, NDMF will automatically track object renames, and apply them to all known animators. It will also keep animators cached in the VirtualControllerContext (which is also, as a convenience, available through this class). Note that any new objects created should be registered in the ObjectPathRemapper if they'll be used in animations; this ensures that subsequent movements will be tracked properly. Likewise, use ObjectPathRemapper to obtain (virtual) object paths for newly created objects.
[DependsOnContext(typeof(VirtualControllerContext))]
public sealed class AnimatorServicesContext : IExtensionContext
- Inheritance
-
AnimatorServicesContext
- Implements
- Inherited Members
- Extension Methods
Properties
AnimationIndex
public AnimationIndex AnimationIndex { get; }
Property Value
ControllerContext
public VirtualControllerContext ControllerContext { get; }
Property Value
ObjectPathRemapper
public ObjectPathRemapper ObjectPathRemapper { get; }
Property Value
Methods
OnActivate(BuildContext)
Invoked when the extension is activated.
public void OnActivate(BuildContext context)
Parameters
context
BuildContext
OnDeactivate(BuildContext)
Invoked when the extension is deactivated.
public void OnDeactivate(BuildContext context)
Parameters
context
BuildContext