|
@@ -65,6 +65,9 @@ public:
|
|
|
|
|
|
|
|
INLINE NodePath get_node_path() const;
|
|
INLINE NodePath get_node_path() const;
|
|
|
|
|
|
|
|
|
|
+ INLINE GeometricBoundingVolume *get_view_frustum() const;
|
|
|
|
|
+ INLINE void set_view_frustum(PT(GeometricBoundingVolume) view_frustum);
|
|
|
|
|
+
|
|
|
PUBLISHED:
|
|
PUBLISHED:
|
|
|
INLINE CPT(TransformState) get_modelview_transform(const CullTraverser *trav) const;
|
|
INLINE CPT(TransformState) get_modelview_transform(const CullTraverser *trav) const;
|
|
|
INLINE CPT(TransformState) get_internal_transform(const CullTraverser *trav) const;
|
|
INLINE CPT(TransformState) get_internal_transform(const CullTraverser *trav) const;
|
|
@@ -79,6 +82,7 @@ PUBLISHED:
|
|
|
void apply_transform(const TransformState *node_transform);
|
|
void apply_transform(const TransformState *node_transform);
|
|
|
|
|
|
|
|
MAKE_PROPERTY(node_path, get_node_path);
|
|
MAKE_PROPERTY(node_path, get_node_path);
|
|
|
|
|
+ MAKE_PROPERTY(view_frustum, get_view_frustum);
|
|
|
|
|
|
|
|
public:
|
|
public:
|
|
|
bool is_instance_in_view(const TransformState *instance_transform, const DrawMask &camera_mask) const;
|
|
bool is_instance_in_view(const TransformState *instance_transform, const DrawMask &camera_mask) const;
|