Scales a CCNode object to a zoom factor by modifying it’s scale attribute.
Class CCScaleTo
#include <Geode/cocos/actions/CCActionInterval.h>
classCCScaleTo:publiccocos2d::CCActionInterval{ ... }
⚠️ 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,floatsx,floatsy)
creates the action with and X factor and a Y factor
Public member functions5
boolinitWithDuration(floatduration,floatsx,floatsy)
initializes the action with and X factor and a Y factor
virtualcocos2d::CCObject*copyWithZone(cocos2d::CCZone*pZone)
No description provided
virtualvoidstartWithTarget(cocos2d::CCNode*pTarget)
No description provided
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