SplitRows action.
More...
Inherits TiledGrid3DAction.
SplitRows action.
Split the target node in many rows. Then move out some rows from left, move out the other rows from right.
static SplitRows* create |
( |
float |
duration, |
|
|
unsigned int |
rows |
|
) |
| |
|
static |
Create the action with the number of rows and the duration.
Specify the duration of the SplitRows action. It's a value in seconds. Specify the rows count should be splited. If the creation success, return a pointer of SplitRows action; otherwise, return nil.
var create |
( |
var |
duration, |
|
|
var |
rows |
|
) |
| |
|
static |
Create the action with the number of rows and the duration.
Specify the duration of the SplitRows action. It's a value in seconds. Specify the rows count should be splited. If the creation success, return a pointer of SplitRows action; otherwise, return nil.
local create |
( |
local |
duration, |
|
|
local |
rows |
|
) |
| |
|
static |
Create the action with the number of rows and the duration.
Specify the duration of the SplitRows action. It's a value in seconds. Specify the rows count should be splited. If the creation success, return a pointer of SplitRows action; otherwise, return nil.
bool initWithDuration |
( |
float |
duration, |
|
|
unsigned int |
rows |
|
) |
| |
|
protected |
Initializes the action with the number rows and the duration.
Specify the duration of the SplitRows action. It's a value in seconds. Specify the rows count should be splited. If the creation success, return true; otherwise, return false.
var initWithDuration |
( |
var |
duration, |
|
|
var |
rows |
|
) |
| |
|
protected |
Initializes the action with the number rows and the duration.
Specify the duration of the SplitRows action. It's a value in seconds. Specify the rows count should be splited. If the creation success, return true; otherwise, return false.
local initWithDuration |
( |
local |
duration, |
|
|
local |
rows |
|
) |
| |
|
protected |
Initializes the action with the number rows and the duration.
Specify the duration of the SplitRows action. It's a value in seconds. Specify the rows count should be splited. If the creation success, return true; otherwise, return false.
The documentation for this class was generated from the following file: