CCProgressTimer
CCProgressTimer
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
CCProgressTimer(CCSprite)
CCProgressTimer(CCSprite)(Cocos2D.CCSprite sp)Parameters:
sp (Cocos2D.CCSprite)CCProgressTimer(string)
CCProgressTimer(string)(System.String fileName)Parameters:
fileName (System.String)Fields
m_bReverseDirection(System.Boolean)
m_eType(Cocos2D.CCProgressTimerType)
m_fPercentage(System.Single)
m_nVertexDataCount(System.Int32)
m_pSprite(Cocos2D.CCSprite)
m_pVertexData(Cocos2D.CCV3F_C4B_T2F[])
m_tBarChangeRate(Cocos2D.CCPoint)
m_tMidpoint(Cocos2D.CCPoint)
Properties
BarChangeRate(Cocos2D.CCPoint)
Color(Cocos2D.CCColor3B)
IsOpacityModifyRGB(System.Boolean)
Midpoint(Cocos2D.CCPoint)
Opacity(System.Byte)
Percentage(System.Single)
ReverseDirection(System.Boolean)
ReverseProgress(System.Boolean)
Sprite(Cocos2D.CCSprite)
Type(Cocos2D.CCProgressTimerType)
Methods
BoundaryTexCoord(int)
Cocos2D.CCPoint BoundaryTexCoord(int)(System.Int32 index)Parameters:
index (System.Int32)Returns:
Cocos2D.CCPointDraw()
Draw()()Example
InitWithSprite(CCSprite)
System.Boolean InitWithSprite(CCSprite)(Cocos2D.CCSprite sp)Parameters:
sp (Cocos2D.CCSprite)Returns:
System.BooleanTextureCoordFromAlphaPoint(CCPoint)
Cocos2D.CCTex2F TextureCoordFromAlphaPoint(CCPoint)(Cocos2D.CCPoint alpha)Parameters:
alpha (Cocos2D.CCPoint)Returns:
Cocos2D.CCTex2FUpdateBar()
UpdateBar()()UpdateColor()
UpdateColor()()UpdateProgress()
UpdateProgress()()UpdateRadial()
UpdateRadial()()VertexFromAlphaPoint(CCPoint)
Cocos2D.CCVertex3F VertexFromAlphaPoint(CCPoint)(Cocos2D.CCPoint alpha)Parameters:
alpha (Cocos2D.CCPoint)Returns:
Cocos2D.CCVertex3F