Class cc.ClippingNode#ctor

Class Summary
Constructor Attributes Constructor Name and Description
 
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