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