Class cc.TiledGrid3DAction
- Defined in: CCActionGrid.js
- Extends cc.GridAction
Constructor Attributes | Constructor Name and Description |
---|---|
Base class for cc.TiledGrid3D actions.
|
Method Summary
Class Detail
cc.TiledGrid3DAction()
Base class for cc.TiledGrid3D actions.
Field Detail
Please use cc.tiledGrid3DAction instead
Creates the action with duration and grid size
- Deprecated:
-
since v3.0
Please use cc.tiledGrid3DAction instead.
Method Detail
-
{cc.TiledGrid3D} getGrid()returns the grid
- Returns:
- {cc.TiledGrid3D}
-
{cc.Quad3} getOriginalTile(position)returns the non-transformed tile that belongs to a certain position of the grid
- Parameters:
- {cc.Point} position
- Returns:
- {cc.Quad3}
-
{cc.Quad3} getTile(position)returns the tile that belongs to a certain position of the grid
- Parameters:
- {cc.Point} position
- Returns:
- {cc.Quad3}
-
{cc.Quad3} originalTile(position)returns the non-transformed tile that belongs to a certain position of the grid
It will be deprecated in future, please use getOriginalTile instead.- Parameters:
- {cc.Point} position
- Returns:
- {cc.Quad3}
-
setTile(position, coords)sets a new tile to a certain position of the grid
- Parameters:
- {cc.Point} position
- {cc.Quad3} coords
-
{cc.Quad3} tile(position)returns the tile that belongs to a certain position of the grid
It will be deprecated in future, please use getTile instead.- Parameters:
- {cc.Point} position
- Returns:
- {cc.Quad3}