Inheritance: EventDispatcher → Node →
This node is used in NodeMaterial to setup the clipping which can happen hardware-accelerated (if supported) and optionally use alpha-to-coverage for anti-aliasing clipped edges.
Constructs a new clipping node.
scope
The node's scope. Similar to other nodes, the selected scope influences the behavior of the node and what type of code is generated.
Default is 'default'.
The node's scope. Similar to other nodes, the selected scope influences the behavior of the node and what type of code is generated.
Setups the node depending on the selected scope.
builder
The current node builder.
Overrides: Node#setup
Returns: The result node.
Setups alpha to coverage.
intersectionPlanes
The intersection planes.
unionPlanes
The union planes.
Returns: The result node.
Setups the default clipping.
intersectionPlanes
The intersection planes.
unionPlanes
The union planes.
Returns: The result node.
Setups hardware clipping.
unionPlanes
The union planes.
builder
The current node builder.
Returns: The result node.