Panda3D
Public Member Functions | Static Public Member Functions | List of all members
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

Public Member Functions

CullTraverserData getData ()
 Returns the CullTraverserData in use at the time of the callback. More...
 
CullTraverser getTrav ()
 Returns the CullTraverser in use at the time of the callback. More...
 
- Public Member Functions inherited from CallbackData
 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. More...
 
- Public Member Functions inherited from TypedObject
TypeHandle getType ()
 
int getTypeIndex ()
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool isExactType (TypeHandle handle)
 Returns true if the current object is the indicated type exactly. More...
 
bool isOfType (TypeHandle handle)
 Returns true if the current object is or derives from the indicated type. More...
 

Static Public Member Functions

static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from CallbackData
static TypeHandle getClassType ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle getClassType ()
 

Additional Inherited Members

- Public Attributes inherited from TypedObject
TypeHandle type
 Returns the TypeHandle representing this object's type. More...
 

Detailed Description

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

Member Function Documentation

◆ getClassType()

static TypeHandle getClassType ( )
static

◆ getData()

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.

◆ getTrav()

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.