Skip to main content

CCLens3D

CCLens3D

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCLens3D()

CCLens3D()()

CCLens3D(CCLens3D)

CCLens3D(CCLens3D)(Cocos2D.CCLens3D lens3D)
Parameters:
lens3D (Cocos2D.CCLens3D)

CCLens3D(float, CCGridSize, CCPoint, float)

CCLens3D(float, CCGridSize, CCPoint, float)(System.Single duration, Cocos2D.CCGridSize gridSize, Cocos2D.CCPoint position, System.Single radius)
Parameters:
duration (System.Single)
gridSize (Cocos2D.CCGridSize)
position (Cocos2D.CCPoint)
radius (System.Single)

Fields

m_bConcave(System.Boolean)
m_bDirty(System.Boolean)
m_fLensEffect(System.Single)
m_fRadius(System.Single)
m_position(Cocos2D.CCPoint)
m_positionInPixels(Cocos2D.CCPoint)

Properties

Concave(System.Boolean)
LensEffect(System.Single)
Position(Cocos2D.CCPoint)

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, CCPoint, float)

System.Boolean InitWithDuration(float, CCGridSize, CCPoint, float)(System.Single duration, Cocos2D.CCGridSize gridSize, Cocos2D.CCPoint position, System.Single radius)
Parameters:
duration (System.Single)
gridSize (Cocos2D.CCGridSize)
position (Cocos2D.CCPoint)
radius (System.Single)
Returns:
System.Boolean

Update(float)

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