Class cc.TiledGrid3DAction

Class Summary
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

<static> {cc.TiledGrid3DAction} cc.TiledGrid3DAction.create
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} originalTile(position)
    returns the non-transformed tile that belongs to a certain position of the grid
    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
    Parameters:
    {cc.Point} position
    Returns:
    {cc.Quad3}