Class CCScaleTo

#include <Geode/cocos/actions/CCActionInterval.h>
classCCScaleTo:publiccocos2d::CCActionInterval{ ... }

Scales a CCNode object to a zoom factor by modifying it’s scale attribute.

⚠️ This action doesn't support "reverse"

Examples0
Public static methods2
staticcocos2d::CCScaleTo*create(
floatduration
,)

creates the action with the same scale factor for X and Y

staticcocos2d::CCScaleTo*create(
floatduration
,,)

creates the action with and X factor and a Y factor

Public member functions5
boolinitWithDuration(
floatduration
,)

initializes the action with the same scale factor for X and Y

boolinitWithDuration(
floatduration
,,)

initializes the action with and X factor and a Y factor

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidupdate(
floattime
)
No description provided
Fields0
Protected member functions0
Protected fields8
floatm_fScaleX
;
No description provided
floatm_fScaleY
;
No description provided
floatm_fStartScaleX
;
No description provided
floatm_fStartScaleY
;
No description provided
floatm_fEndScaleX
;
No description provided
floatm_fEndScaleY
;
No description provided
floatm_fDeltaX
;
No description provided
floatm_fDeltaY
;
No description provided