Difference between revisions of "DOMAnimationLayer"
From Virtual World Web Wiki
(Documentation for the DOMAnimationLayer class) |
(Documentation for the DOMAnimationLayer class) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | * '''Inherits class: [[DOMObject]]''' | + | Represents a layer in an animation controller. This node must be the direct child of a DOMAnimationController node. It's children must all be DOMAnimations. |
+ | |||
+ | *'''Inherits class: [[DOMObject]]''' | ||
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMAnimationLayer Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:DOMAnimationLayer Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
− | {{:DOMAnimationLayer Remarks}} | + | {{#ifexist:DOMAnimationLayer Remarks|{{:DOMAnimationLayer Remarks}}|}} |
===Properties=== | ===Properties=== | ||
:{{CSharp|AnimatorAnimationInfo[] AnimatorAnimList {get; set;} }} | :{{CSharp|AnimatorAnimationInfo[] AnimatorAnimList {get; set;} }} | ||
+ | :: | ||
+ | ::The list of all valid animations for the layer. An array of [[AnimatorAnimationInfo]] structures. | ||
+ | |||
+ | ===Constructors=== | ||
+ | :{{CSharp|DOMAnimationLayer()}} | ||
+ | :: | ||
+ | ::Constructs a new DOMAnimationLayer with default settings | ||
+ | |||
+ | :{{CSharp|DOMAnimationLayer(DOMObject[] children)}} | ||
+ | :: | ||
+ | ::Constructs a new DOMAnimationLayer, adding children at the same time | ||
+ | |||
+ | :{{CSharp|DOMAnimationLayer(string title, DOMObject[] children)}} | ||
+ | :: | ||
+ | ::Constructs a new DOMAnimationLayer, setting a title and adding children at the same time | ||
===Methods=== | ===Methods=== | ||
:{{CSharp|bool CheckChild(DOMObject value)}} | :{{CSharp|bool CheckChild(DOMObject value)}} | ||
+ | :: | ||
+ | ::Called on DOMObject derived types just before a child is added to their Children collection to ensure they are acceptable | ||
:{{CSharp|bool CheckParent(DOMObject parent)}} | :{{CSharp|bool CheckParent(DOMObject parent)}} | ||
+ | :: | ||
+ | ::Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate. | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Latest revision as of 12:35, 6 September 2017
Represents a layer in an animation controller. This node must be the direct child of a DOMAnimationController node. It's children must all be DOMAnimations.
- Inherits class: DOMObject
Remarks [edit]
Properties
- AnimatorAnimationInfo[] AnimatorAnimList {get; set;}
- The list of all valid animations for the layer. An array of AnimatorAnimationInfo structures.
Constructors
- DOMAnimationLayer()
- Constructs a new DOMAnimationLayer with default settings
- DOMAnimationLayer(DOMObject[] children)
- Constructs a new DOMAnimationLayer, adding children at the same time
- DOMAnimationLayer(string title, DOMObject[] children)
- Constructs a new DOMAnimationLayer, setting a title and adding children at the same time
Methods
- bool CheckChild(DOMObject value)
- Called on DOMObject derived types just before a child is added to their Children collection to ensure they are acceptable
- bool CheckParent(DOMObject parent)
- Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate.