Panda3D
Public Member Functions | Static Public Member Functions

NodeCullCallbackData Class Reference

This kind of CallbackData is passed to the CallbackObject added to CallbackNode:set_cull_callback(). More...

Inheritance diagram for NodeCullCallbackData:
CallbackData TypedObject MemoryBase

List of all members.

Public Member Functions

CullTraverserData getData ()
 Returns the CullTraverserData in use at the time of the callback.
CullTraverser getTrav ()
 Returns the CullTraverser in use at the time of the callback.
TypeHandle getType ()
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly.
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type.
 output (ostream out)
 upcall ()
 You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

This kind of CallbackData is passed to the CallbackObject added to CallbackNode:set_cull_callback().


Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from CallbackData.

CullTraverserData getData ( )

Returns the CullTraverserData in use at the time of the callback.

This object contains data that changes at each node of the traversal, such as the current node and the current net transform to that node.

CullTraverser getTrav ( )

Returns the CullTraverser in use at the time of the callback.

This object contains data that does not change during the traversal, such as the DisplayRegion and Camera in use.

TypeHandle getType ( ) [inherited]

Reimplemented in AnimChannelBase.

int getTypeIndex ( ) [inherited]

Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.

This is equivalent to get_type().get_index().

bool isExactType ( TypeHandle  handle) [inherited]

Returns true if the current object is the indicated type exactly.

bool isOfType ( TypeHandle  handle) [inherited]

Returns true if the current object is or derives from the indicated type.

output ( ostream  out) [inherited]
upcall ( ) [inherited]

You should make this call during the callback if you want to continue the normal function that would have been done in the absence of a callback.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties