CCClippingNode
CCClippingNode
Cocos2DInheritance: System.Object → Cocos2D.CCNode
Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}
Constructors
CCClippingNode()
CCClippingNode()()
CCClippingNode(CCNode)
CCClippingNode(CCNode)(Cocos2D.CCNode stencil)
Parameters:
stencil
(Cocos2D.CCNode)Fields
m_bInverted(System.Boolean)
m_fAlphaThreshold(System.Single)
m_pStencil(Cocos2D.CCNode)
Properties
AlphaThreshold(System.Single)
Inverted(System.Boolean)
Stencil(Cocos2D.CCNode)
Methods
Init()
System.Boolean Init()()
Returns:
System.Boolean
Example
Init(CCNode)
System.Boolean Init(CCNode)(Cocos2D.CCNode stencil)
Parameters:
stencil
(Cocos2D.CCNode)Returns:
System.Boolean
OnEnter()
OnEnter()()
Example
OnEnterTransitionDidFinish()
OnEnterTransitionDidFinish()()
Example
OnExit()
OnExit()()
Example
OnExitTransitionDidStart()
OnExitTransitionDidStart()()
Example
Visit()
Visit()()
This is called with every call to the MainLoop on the CCDirector class. In XNA, this is the same as the Draw() call.
Example