CCCamera2D
CCCamera2D
Cocos2DInheritance: System.Object
Constructors
CCCamera2D()
CCCamera2D()()CCCamera2D(float, float)
CCCamera2D(float, float)(System.Single viewportWidth, System.Single viewportHeight)Parameters:
viewportWidth (System.Single)viewportHeight (System.Single)Properties
AutoScrollSpeedX(System.Single)
AutoScrollSpeedY(System.Single)
FollowSmoothing(System.Single)
FollowTarget(Cocos2D.CCNode)
IsShaking(System.Boolean)
ScrollX(System.Single)
ScrollY(System.Single)
ShakeOffset(Cocos2D.CCPoint)
ViewportHeight(System.Single)
ViewportWidth(System.Single)
Zoom(System.Single)
Methods
ApplyTo(CCNode)
ApplyTo(CCNode)(Cocos2D.CCNode layer)Parameters:
layer (Cocos2D.CCNode)Follow(CCNode, float)
Follow(CCNode, float)(Cocos2D.CCNode target, System.Single smoothing)Parameters:
target (Cocos2D.CCNode)smoothing (System.Single)IsVisible(CCRect)
System.Boolean IsVisible(CCRect)(Cocos2D.CCRect worldBounds)Parameters:
worldBounds (Cocos2D.CCRect)Returns:
System.BooleanShake(float, float)
Shake(float, float)(System.Single intensity, System.Single duration)Parameters:
intensity (System.Single)duration (System.Single)Unfollow()
Unfollow()()Update(float)
Update(float)(System.Single dt)Parameters:
dt (System.Single)