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