Difference between revisions of "DOMAnimationLayer"
From Virtual World Web Wiki
(Documentation for the DOMAnimationLayer class) |
(Documentation for the DOMAnimationLayer class) |
||
Line 12: | Line 12: | ||
===Constructors=== | ===Constructors=== | ||
:{{CSharp|DOMAnimationLayer()}} | :{{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=== |
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.