Skip to main content

CCControlHuePicker

CCControlHuePicker

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode → Cocos2D.CCLayer → Cocos2D.CCLayerRGBA → Cocos2D.CCControl

Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, System.Collections.Generic.IComparer{Cocos2D.CCNode}, Cocos2D.ICCAccelerometerDelegate, Cocos2D.ICCRGBAProtocol

Constructors

CCControlHuePicker()

CCControlHuePicker()()

CCControlHuePicker(CCNode, CCPoint)

CCControlHuePicker(CCNode, CCPoint)(Cocos2D.CCNode target, Cocos2D.CCPoint pos)
Parameters:
target (Cocos2D.CCNode)
pos (Cocos2D.CCPoint)

Properties

Background(Cocos2D.CCSprite)
Enabled(System.Boolean)

Tells whether the control is enabled.

Hue(System.Single)
HuePercentage(System.Single)
Slider(Cocos2D.CCSprite)
StartPos(Cocos2D.CCPoint)

Methods

CheckSliderPosition(CCPoint)

System.Boolean CheckSliderPosition(CCPoint)(Cocos2D.CCPoint location)
Parameters:
location (Cocos2D.CCPoint)
Returns:
System.Boolean

InitWithTargetAndPos(CCNode, CCPoint)

System.Boolean InitWithTargetAndPos(CCNode, CCPoint)(Cocos2D.CCNode target, Cocos2D.CCPoint pos)
Parameters:
target (Cocos2D.CCNode)
pos (Cocos2D.CCPoint)
Returns:
System.Boolean

TouchBegan(CCTouch)

System.Boolean TouchBegan(CCTouch)(Cocos2D.CCTouch touch)

Returns true signaling that this node will consume the touch.

Parameters:
touch (Cocos2D.CCTouch)
Returns:
System.Boolean
Example

TouchMoved(CCTouch)

TouchMoved(CCTouch)(Cocos2D.CCTouch pTouch)
Parameters:
pTouch (Cocos2D.CCTouch)
Example

UpdateSliderPosition(CCPoint)

UpdateSliderPosition(CCPoint)(Cocos2D.CCPoint location)
Parameters:
location (Cocos2D.CCPoint)