NodeCullCallbackData

class NodeCullCallbackData

Bases: CallbackData

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

Inheritance diagram

Inheritance diagram of NodeCullCallbackData

static TypeHandle get_class_type(void)
CullTraverserData &get_data(void) const

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 *get_trav(void) const

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.