DOMIKTarget

From Virtual World Web Wiki
Jump to: navigation, search

Represents the target (IK goal) that an animation curve is blending towards via a DOMIKLink

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

Remarks [edit]

Properties

string Goal {get; set;}
What is the name of the goal point this target is moving towards
float PositionBlendTime {get; set;}
How long (in seconds) should we expect to spend blending to the target position
Point3D PositionOffset {get; set;}
How far from the target bone should target with the IK
float PositionWeight {get; set;}
How much of the target position should we use during IK (0 = none, 1 = interpolate to exactly that position)
float RotationBlendTime {get; set;}
How long (in seconds) should we expect to spend blending to the target rotation
float RotationWeight {get; set;}
How much of the target rotation should we use during IK (0 = none, 1 = interpolate to exactly that rotation)
long TargetObjectID {get; set;}
Which object in the scene is this Target associated with
float Timeout {get; set;}
The amount of time before the attempt to reach the target is abandoned

Constructors

DOMIKTarget()
Constructs a new DOMIKTarget with default settings
DOMIKTarget(DOMObject[] children)
Constructs a new DOMIKTarget, adding children at the same time
DOMIKTarget(string title, DOMObject[] children)
Constructs a new DOMIKTarget, 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.