⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

Axmol Engine 3.0.0-dff292a
Loading...
Searching...
No Matches
StopGrid Class Reference

StopGrid action. More...

#include <ActionGrid.h>

Inherits ActionInstant.

Static Public Member Functions

static StopGridcreate ()
 Create a StopGrid Action.

Additional Inherited Members

Public Member Functions inherited from ActionInstant
void step (float dt) override
void update (float time) override

Detailed Description

StopGrid action.

Warning
Don't call this action if another grid action is active. Call if you want to remove the grid effect. Example:
static Lens3D * create(float duration, const Vec2 &gridSize, const Vec2 &position, float radius)
Create the action with center position, radius, a grid size and duration.
static Sequence * create(FiniteTimeAction *action1,...) AX_REQUIRES_NULL_TERMINATION
Helper constructor to create an array of sequenceable actions.
static StopGrid * create()
Create a StopGrid Action.

Member Function Documentation

◆ create()

StopGrid * create ( )
static

Create a StopGrid Action.

Returns
Return a pointer of StopGrid. When the creation failed, return nil.

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