DOMInterpolation

From Virtual World Web Wiki
Jump to: navigation, search

Largely superceeded by the Curves 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: DOMCurve

  • 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
DOMInterpolation(string title)
Constructs a new DOMInterpolation, 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.