Difference between revisions of "DOMInterpolation"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMInterpolation class)
(Documentation for the DOMInterpolation class)
Line 33: Line 33:
  
 
:{{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.
  
 
:{{CSharp|void OnUpdate(object state)}}
 
:{{CSharp|void OnUpdate(object state)}}

Revision as of 20:34, 18 October 2016

Remarks [edit]

Properties

Point3D Location {get; set;}
Point3D Orientation {get; set;}
Point3D Position {get; set;}
Point3D PositionDelta {get; set;}
Point3D Rotation {get; set;}
Point3D RotationDelta {get; set;}
Single Speed {get; set;}
Point3D TargetPosition {get; set;}
Point3D TargetRotation {get; set;}
DateTime Timestamp {get; set;}
Double TimeTotal {get; set;}

Constructors

DOMInterpolation()

Methods

void CalculateValues(DOMTransform parent)
bool CheckParent(DOMObject parent)
Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate.
void OnUpdate(object state)
bool Start()