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

This is a specialization on VertexTransform that returns the transform necessary to move vertices as if they were assigned to the indicated joint. More...

Inheritance diagram for JointVertexTransform:
VertexTransform TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject

List of all members.

Public Member Functions

 JointVertexTransform (CharacterJoint joint)
 Constructs a new object that converts vertices from the indicated joint's coordinate space, into the other indicated joint's space.
CharacterJoint const getJoint ()
 Returns the joint for which this object returns the transform.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

This is a specialization on VertexTransform that returns the transform necessary to move vertices as if they were assigned to the indicated joint.

The geometry itself should be parented to the scene graph at the level of the character's root joint; that is, it should not be parented under a node directly animated by any joints.

Multiple combinations of these with different weights are used to implement soft-skinned vertices for an animated character.


Constructor & Destructor Documentation

Constructs a new object that converts vertices from the indicated joint's coordinate space, into the other indicated joint's space.


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from VertexTransform.

Returns the joint for which this object returns the transform.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties