Difference between revisions of "DOMInterpolation"
From Virtual World Web Wiki
(Documentation for the DOMInterpolation class) |
(Documentation for the DOMInterpolation class) |
||
Line 16: | Line 16: | ||
:: | :: | ||
::The target orientation after the movement | ::The target orientation after the movement | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
:{{CSharp|float Speed {get; set;} }} | :{{CSharp|float Speed {get; set;} }} | ||
:: | :: | ||
::The speed with which to move toward the Location | ::The speed with which to move toward the Location | ||
− | |||
− | |||
− | |||
− | |||
:{{CSharp|DateTime Timestamp {get; set;} }} | :{{CSharp|DateTime Timestamp {get; set;} }} | ||
:: | :: | ||
::The starting time of the interpolation | ::The starting time of the interpolation | ||
− | |||
− | |||
===Constructors=== | ===Constructors=== | ||
Line 45: | Line 31: | ||
===Methods=== | ===Methods=== | ||
− | |||
− | |||
:{{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. | ::Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate. | ||
− | |||
− | |||
− | |||
− | |||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 18:54, 7 April 2017
Largely superceeded by the DOMCurve system, this node can be applied as a child to a DOMTransform derived node to cause it to move smothly (on the client side)
See also: DOM Curves
- Inherits class: DOMObject
- This is a leaf node type. This node type cannot have children.
Remarks [edit]
Properties
- Point3D Location {get; set;}
- The target location of the movement
- Point3D Orientation {get; set;}
- The target orientation after the movement
- float Speed {get; set;}
- The speed with which to move toward the Location
- DateTime Timestamp {get; set;}
- The starting time of the interpolation
Constructors
- DOMInterpolation()
- Constructs a new DOMInterpolation with default settings
Methods
- bool CheckParent(DOMObject parent)
- Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate.