Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
CConstrainTransformInterval Class Reference

A constraint interval that will constrain the transform of one node to the transform of another. More...

Inheritance diagram for CConstrainTransformInterval:
CConstraintInterval CInterval

List of all members.

Public Member Functions

 CConstrainTransformInterval (string name, double duration, NodePath const node, NodePath const target, bool wrt)
 Constructs a constraint interval that will constrain the transform of one node to the transform of another.
NodePath const getNode ()
 Returns the "source" node.
NodePath const getTarget ()
 Returns the "target" node.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

A constraint interval that will constrain the transform of one node to the transform of another.


Constructor & Destructor Documentation

CConstrainTransformInterval ( string  name,
double  duration,
NodePath const  node,
NodePath const  target,
bool  wrt 
)

Constructs a constraint interval that will constrain the transform of one node to the transform of another.

To clarify, the transform of node will be copied to target.

If wrt is true, the node's transform will be transformed into the target node's parent's space before being copied. If wrt is false, the node's local transform will be copied unaltered.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from CConstraintInterval.

NodePath const getNode ( )

Returns the "source" node.

NodePath const getTarget ( )

Returns the "target" node.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties