Class cc.ClippingNode#ctor
- Defined in: CCClippingNode.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.ClippingNode#ctor(stencil)
Creates and initializes a clipping node with an other node as its stencil.
|
Class Detail
cc.ClippingNode#ctor(stencil)
Creates and initializes a clipping node with an other node as its stencil.
The stencil node will be retained.
- Parameters:
- {cc.Node} stencil Optional, Default: null