Difference between revisions of "DOMAnimationController"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMAnimationController class)
(Documentation for the DOMAnimationController class)
Line 1: Line 1:
* '''Inherits class: [[DOMObject]]'''
+
Represents an animation controller that can affect one or more skeletons defined by [[DOMController|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 <nowiki>[</nowiki>[{{fullurl:DOMAnimationController Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMAnimationController Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
{{:DOMAnimationController Remarks}}
 
{{:DOMAnimationController Remarks}}
Line 11: Line 13:
  
 
:{{CSharp|string ResourceName {get; set;} }}
 
:{{CSharp|string ResourceName {get; set;} }}
 +
::
 +
::The name of the animation controller prefab in the Unity asset bundle
  
 
:{{CSharp|ResourceValue ResourceUri {get; set;} }}
 
:{{CSharp|ResourceValue ResourceUri {get; set;} }}
 +
::
 +
::The ResourceValue of the Unity animation controller asset bundle
  
 
===Constructors===
 
===Constructors===

Revision as of 15:24, 18 November 2016

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.

Remarks [edit]

Properties

bool AnimatorApplyRootMotion {get; set;}
bool HasLocomotion {get; set;}
int PaceCount {get; set;}
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()