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

This effect will be added automatically to a node by CharacterJoint::add_net_transform() and CharacterJoint::add_local_transform(). More...

Inheritance diagram for CharacterJointEffect:
RenderEffect TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject

List of all members.

Public Member Functions

Character getCharacter ()
 Returns the Character that will get update() called on it when this node's relative transform is queried, or NULL if there is no such character.

Static Public Member Functions

static TypeHandle getClassType ()
static RenderEffect const make (Character character)
 Constructs a new CharacterJointEffect object that references the indicated character.

Detailed Description

This effect will be added automatically to a node by CharacterJoint::add_net_transform() and CharacterJoint::add_local_transform().

The effect binds the node back to the character, so that querying the relative transform of the affected node will automatically force the indicated character to be updated first.


Member Function Documentation

Returns the Character that will get update() called on it when this node's relative transform is queried, or NULL if there is no such character.

static TypeHandle getClassType ( ) [static]

Reimplemented from RenderEffect.

static RenderEffect const make ( Character  character) [static]

Constructs a new CharacterJointEffect object that references the indicated character.

When a relative get_transform() is called on the node that contains the CharacterJointEffect, it will implicitly call character->update() first.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties