DOMAnimation
From Virtual World Web Wiki
Represents a playing animation. Must be the child of a DOMRenderable or a DOMAnimationLayer
- Inherits class: DOMObject
Remarks [edit]
Properties
- int Duration {get; set;}
- The length of the animation in milliseconds
- bool Loop {get; set;}
- True if the animation should be looped
- DateTime Timestamp {get; set;}
- The server time at which the animation started playing. Useful for synchronizing animation on scene entry
Constructors
- DOMAnimation()
- Constructs a new DOMAnimation with default settings
- DOMAnimation(DOMObject[] children)
- Constructs a new DOMAnimation, adding children at the same time
- DOMAnimation(string title, DOMObject[] children)
- Constructs a new DOMAnimation, setting a title and adding children at the same time
Methods
- bool CheckParent(DOMObject parent)
- Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate.