50 return (
int)_points.size();
77 nassertr(n >= 0 && n < (
int)_points.size(),
NodePath());
78 return _points[n]._node;
bool is_screen() const
Returns true if the ScissorEffect is a screen-based effect, meaning get_frame() has a meaningful valu...
const LPoint3 & get_point(int n) const
If is_screen() returns false, then get_num_points() and get_point() may be called to query the node-b...
static const LPoint3f & zero()
Returns a zero-length point.
bool get_clip() const
Returns true if this ScissorEffect actually enables scissoring, or false if it culls only...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
int get_num_points() const
Returns the number of node-based scissor points.
NodePath get_node(int n) const
Returns the node to which the nth point is relative, or empty NodePath to indicate the current node...
This is the base class for all three-component vectors and points.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
const LVecBase4 & get_frame() const
If is_screen() returns true, this method may be called to query the screen-based scissor frame...