Skip to main content

CCTypes

CCTypes

Cocos2D

Inheritance: System.Object

Constructors

CCTypes()

CCTypes()()

Fields

CCBlack(Cocos2D.CCColor3B)
CCBlue(Cocos2D.CCColor3B)
CCGray(Cocos2D.CCColor3B)
CCGreen(Cocos2D.CCColor3B)
CCMagenta(Cocos2D.CCColor3B)
CCOrange(Cocos2D.CCColor3B)
CCRed(Cocos2D.CCColor3B)
CCWhite(Cocos2D.CCColor3B)
CCYellow(Cocos2D.CCColor3B)

Methods

ColorsAreEqual(CCColor4F, CCColor4F)

System.Boolean ColorsAreEqual(CCColor4F, CCColor4F)(Cocos2D.CCColor4F a, Cocos2D.CCColor4F b)
Parameters:
a (Cocos2D.CCColor4F)
b (Cocos2D.CCColor4F)
Returns:
System.Boolean
Example

CreateColor(CCColor3B)

Cocos2D.CCColor4F CreateColor(CCColor3B)(Cocos2D.CCColor3B c)
Parameters:
c (Cocos2D.CCColor3B)
Returns:
Cocos2D.CCColor4F
Example

CreateColor(CCColor4B)

Cocos2D.CCColor4F CreateColor(CCColor4B)(Cocos2D.CCColor4B c)
Parameters:
c (Cocos2D.CCColor4B)
Returns:
Cocos2D.CCColor4F
Example

CreateColor(byte, byte, byte)

Cocos2D.CCColor3B CreateColor(byte, byte, byte)(System.Byte r, System.Byte g, System.Byte b)
Parameters:
r (System.Byte)
g (System.Byte)
b (System.Byte)
Returns:
Cocos2D.CCColor3B

CreateColor(byte, byte, byte, byte)

Cocos2D.CCColor4B CreateColor(byte, byte, byte, byte)(System.Byte r, System.Byte g, System.Byte b, System.Byte o)
Parameters:
r (System.Byte)
g (System.Byte)
b (System.Byte)
o (System.Byte)
Returns:
Cocos2D.CCColor4B

GridSize(int, int)

Cocos2D.CCGridSize GridSize(int, int)(System.Int32 x, System.Int32 y)
Parameters:
x (System.Int32)
y (System.Int32)
Returns:
Cocos2D.CCGridSize

HSVToColor(float, float, float)

Cocos2D.CCColor4F HSVToColor(float, float, float)(System.Single h, System.Single s, System.Single v)
Parameters:
h (System.Single)
s (System.Single)
v (System.Single)
Returns:
Cocos2D.CCColor4F

Tex2(float, float)

Cocos2D.CCTex2F Tex2(float, float)(System.Single u, System.Single v)
Parameters:
u (System.Single)
v (System.Single)
Returns:
Cocos2D.CCTex2F

Vertex2(float, float)

Cocos2D.CCVertex2F Vertex2(float, float)(System.Single x, System.Single y)
Parameters:
x (System.Single)
y (System.Single)
Returns:
Cocos2D.CCVertex2F

Vertex3(float, float, float)

Cocos2D.CCVertex3F Vertex3(float, float, float)(System.Single x, System.Single y, System.Single z)
Parameters:
x (System.Single)
y (System.Single)
z (System.Single)
Returns:
Cocos2D.CCVertex3F