DOMAnimationController
From Virtual World Web Wiki
Revision as of 21:02, 12 April 2017 by Spark5 (Talk | contribs) (Documentation for the DOMAnimationController class)
Represents an animation controller that can affect one or more skeletons defined by DOMControllers. A DOMAnimationController node can be placed in the DOM as a direct child of a DOMController in which case it automatically affects that animatable skeleton, or it can be placed somewhere else in the scene and referenced by setting the DOMController's AnimationControllerID property to the ID of this node. This allows multiple characters or objects to be animated by the same animation controller.
- Inherits class: DOMObject
Remarks [edit]
Properties
- bool AnimatorApplyRootMotion {get; set;}
- True if the animations in this animation controller are intended to apply root motion
- bool HasLocomotion {get; set;}
- True if this animation controller has locomotion animations in it
- int PaceCount {get; set;}
- Keeps track of the number of locomotion states that represent paces (walking, jogging, running, super-running) for example. This is a hacky hint to clients, so they know which forward movement states exist in this controller.
- string ResourceName {get; set;}
- The name of the animation controller prefab in the Unity asset bundle
- ResourceValue ResourceUri {get; set;}
- The ResourceValue of the Unity animation controller asset bundle
Constructors
- DOMAnimationController()