A constraint interval that will constrain the orientation of one node to the orientation of another. More...
Public Member Functions | |
CConstrainHprInterval (string name, double duration, NodePath const node, NodePath const target, bool wrt, VBase3 const hprOffset) | |
Constructs a constraint interval that will constrain the orientation of one node to the orientation of another, possibly with an added rotation. | |
CConstrainHprInterval (string name, double duration, NodePath const node, NodePath const target, bool wrt) | |
Constructs a constraint interval that will constrain the orientation of one node to the orientation of another, possibly with an added rotation. | |
NodePath const | getNode () |
Returns the "source" node. | |
NodePath const | getTarget () |
Returns the "target" node. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A constraint interval that will constrain the orientation of one node to the orientation of another.
CConstrainHprInterval | ( | string | name, |
double | duration, | ||
NodePath const | node, | ||
NodePath const | target, | ||
bool | wrt, | ||
VBase3 const | hprOffset | ||
) |
Constructs a constraint interval that will constrain the orientation of one node to the orientation of another, possibly with an added rotation.
If wrt is true, the node's orientation will be transformed into the target node's parent's space before being copied. If wrt is false, the target node's local orientation will be copied unaltered.
CConstrainHprInterval | ( | string | name, |
double | duration, | ||
NodePath const | node, | ||
NodePath const | target, | ||
bool | wrt | ||
) |
Constructs a constraint interval that will constrain the orientation of one node to the orientation of another, possibly with an added rotation.
If wrt is true, the node's orientation will be transformed into the target node's parent's space before being copied. If wrt is false, the target node's local orientation will be copied unaltered.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from CConstraintInterval.
NodePath const getNode | ( | ) |
Returns the "source" node.
NodePath const getTarget | ( | ) |
Returns the "target" node.