CCShatteredTiles3D
CCShatteredTiles3D
Cocos2D@brief CCShatteredTiles3D action
Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCGridAction → Cocos2D.CCTiledGrid3DAction
Implements: Cocos2D.ICCCopyable
Constructors
CCShatteredTiles3D()
CCShatteredTiles3D()()
CCShatteredTiles3D(float, CCGridSize, int, bool)
CCShatteredTiles3D(float, CCGridSize, int, bool)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 nRange, System.Boolean bShatterZ)
creates the action with a range, whether of not to shatter Z vertices, a grid size and duration
Parameters:
duration
(System.Single)gridSize
(Cocos2D.CCGridSize)nRange
(System.Int32)bShatterZ
(System.Boolean)Example
Fields
m_bOnce(System.Boolean)
m_bShatterZ(System.Boolean)
m_nRandrange(System.Int32)
Methods
Copy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)
Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.
Parameters:
pZone
(Cocos2D.ICCCopyable)Returns:
System.Object
Example
InitWithDuration(float, CCGridSize, int, bool)
System.Boolean InitWithDuration(float, CCGridSize, int, bool)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 nRange, System.Boolean bShatterZ)
initializes the action with a range, whether or not to shatter Z vertices, a grid size and duration
Parameters:
duration
(System.Single)gridSize
(Cocos2D.CCGridSize)nRange
(System.Int32)bShatterZ
(System.Boolean)Returns:
System.Boolean
Example
Update(float)
Update(float)(System.Single time)
Parameters:
time
(System.Single)Example