Class CCFadeTo

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

Fades an object that implements the CCRGBAProtocol protocol. It modifies the opacity from the current value to a custom one.

⚠️ This action doesn't support "reverse"

Examples0
Public static methods1
staticcocos2d::CCFadeTo*create(
floatduration
,
_::GLubyteopacity
)

creates an action with duration and opacity

Public member functions4
boolinitWithDuration(
floatduration
,
_::GLubyteopacity
)

initializes the action with duration and opacity

virtualcocos2d::CCObject*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidupdate(
floattime
)
No description provided
Fields0
Protected member functions0
Protected fields2
_::GLubytem_toOpacity
;
No description provided
_::GLubytem_fromOpacity
;
No description provided