DOMCurveKeyframe
From Virtual World Web Wiki
Represents a point in time along a DOMCurve at which property values can be specified. The values of a DOMCurvePlayer's properties which are being projected onto other nodes in the DOM will blend between the values at this node and the "next" keyframe's values. "next" depends on whether the player is looping, running in reverse, etc.
See also: Curves
- Inherits class: DOMObject
Remarks [edit]
Properties
- float Time {get; set;}
- The time offset of this keyframe from the beginning of the DOMCurve animation, in seconds.
Events
- PlayerCrossed(EventHandler<PlayerCrossedEventArgs>)
- Fired when a DOMCurvePlayer reaches this keyframe
Constructors
- DOMCurveKeyframe()
- Constructs a new DOMCurveKeyframe with default settings
- DOMCurveKeyframe(DOMObject[] children)
- Constructs a new DOMCurveKeyframe, adding children at the same time
- DOMCurveKeyframe(string title, DOMObject[] children)
- Constructs a new DOMCurveKeyframe, 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.
- int SortCompare(DOMObject other)
- Compares this node with another node of the same type for display sorting purposes