Skip to main content

CCShaky3D

CCShaky3D

Cocos2D

Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCGridAction → Cocos2D.CCGrid3DAction

Implements: Cocos2D.ICCCopyable

Constructors

CCShaky3D()

CCShaky3D()()

CCShaky3D(float, CCGridSize, int, bool)

CCShaky3D(float, CCGridSize, int, bool)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 range, System.Boolean shakeZ)
Parameters:
duration (System.Single)
gridSize (Cocos2D.CCGridSize)
range (System.Int32)
shakeZ (System.Boolean)

Fields

m_bShakeZ(System.Boolean)
m_nRandrange(System.Int32)

Methods

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)
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 range, System.Boolean shakeZ)
Parameters:
duration (System.Single)
gridSize (Cocos2D.CCGridSize)
range (System.Int32)
shakeZ (System.Boolean)
Returns:
System.Boolean

Update(float)

Update(float)(System.Single time)
Parameters:
time (System.Single)
Example