Axmol 3.0.0-89d6d9a
Loading...
Searching...
No Matches
FadeOut Class Reference

Fades Out an object that implements the RGBAProtocol protocol. More...

#include <ActionInterval.h>

Inherits FadeTo.

Static Public Member Functions

static FadeOut * create (float d)
 Creates the action.
Static Public Member Functions inherited from FadeTo
static FadeTo * create (float duration, uint8_t opacity)
 Creates an action with duration and opacity.

Additional Inherited Members

Public Member Functions inherited from FadeTo
void update (float time) override
bool initWithDuration (float duration, uint8_t opacity)
 initializes the action with duration and opacity
Public Member Functions inherited from ActionInterval
float getElapsed ()
 How many seconds had elapsed since the actions started to run.
void setAmplitudeRate (float amp)
 Sets the amplitude rate, extension in GridAction.
float getAmplitudeRate ()
 Gets the amplitude rate, extension in GridAction.
void step (float dt) override
bool initWithDuration (float d)
 initializes the action

Detailed Description

Fades Out an object that implements the RGBAProtocol protocol.

It modifies the opacity from 255 to 0. The "reverse" of this action is FadeIn

Member Function Documentation

◆ create()

FadeOut * create ( float d)
static

Creates the action.

Parameters
dDuration time, in seconds.

The documentation for this class was generated from the following file:
  • ActionInterval.h