CCGridBase
CCGridBase
Cocos2DBase class for other
Inheritance: System.Object
Constructors
CCGridBase()
CCGridBase()()
Fields
m_bActive(System.Boolean)
m_bIsTextureFlipped(System.Boolean)
m_directorProjection(Cocos2D.CCDirectorProjection)
m_nReuseGrid(System.Int32)
m_obStep(Cocos2D.CCPoint)
m_pGrabber(Cocos2D.CCGrabber)
m_pTexture(Cocos2D.CCTexture2D)
m_sGridSize(Cocos2D.CCGridSize)
Properties
Active(System.Boolean)
wheter or not the grid is active
GridSize(Cocos2D.CCGridSize)
size of the grid
ReuseGrid(System.Int32)
number of times that the grid will be reused
Step(Cocos2D.CCPoint)
pixels between the grids
TextureFlipped(System.Boolean)
is texture flipped
Methods
AfterDraw(CCNode)
AfterDraw(CCNode)(Cocos2D.CCNode target)
Parameters:
target
(Cocos2D.CCNode)BeforeDraw()
BeforeDraw()()
Blit()
Blit()()
CalculateVertexPoints()
CalculateVertexPoints()()
InitWithSize(CCGridSize)
System.Boolean InitWithSize(CCGridSize)(Cocos2D.CCGridSize gridSize)
Parameters:
gridSize
(Cocos2D.CCGridSize)Returns:
System.Boolean
InitWithSize(CCGridSize, CCSize)
System.Boolean InitWithSize(CCGridSize, CCSize)(Cocos2D.CCGridSize gridSize, Cocos2D.CCSize size)
Parameters:
gridSize
(Cocos2D.CCGridSize)size
(Cocos2D.CCSize)Returns:
System.Boolean
InitWithSize(CCGridSize, CCTexture2D, bool)
System.Boolean InitWithSize(CCGridSize, CCTexture2D, bool)(Cocos2D.CCGridSize gridSize, Cocos2D.CCTexture2D pTexture, System.Boolean bFlipped)
Parameters:
gridSize
(Cocos2D.CCGridSize)pTexture
(Cocos2D.CCTexture2D)bFlipped
(System.Boolean)Returns:
System.Boolean
NextPOT(ulong)
System.UInt64 NextPOT(ulong)(System.UInt64 x)
Parameters:
x
(System.UInt64)Returns:
System.UInt64
Reuse()
Reuse()()
Set2DProjection()
Set2DProjection()()