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 17: Line 17:
 
:{{CSharp|Point3D RotationDelta {get; set;} }}
 
:{{CSharp|Point3D RotationDelta {get; set;} }}
  
:{{CSharp|Single Speed {get; set;} }}
+
:{{CSharp|float Speed {get; set;} }}
  
 
:{{CSharp|Point3D TargetPosition {get; set;} }}
 
:{{CSharp|Point3D TargetPosition {get; set;} }}
Line 25: Line 25:
 
:{{CSharp|DateTime Timestamp {get; set;} }}
 
:{{CSharp|DateTime Timestamp {get; set;} }}
  
:{{CSharp|Double TimeTotal {get; set;} }}
+
:{{CSharp|double TimeTotal {get; set;} }}
  
 
===Constructors===
 
===Constructors===

Revision as of 17:55, 20 February 2017

  • Inherits class: DOMObject
  • This is a leaf node type. This node type cannot have children.

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;}
float 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()