GridMapSetCellItem Method |
Sets the mesh index for the cell referenced by its grid-based X, Y and Z coordinates.
A negative item index such as will clear the cell.
Optionally, the item's orientation can be passed. For valid orientation values, see Basis.get_orthogonal_index.
Namespace: Godot
public void SetCellItem( int x, int y, int z, int item, int orientation = 0 )
[Missing <param name="x"/> documentation for "M:Godot.GridMap.SetCellItem(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"]
[Missing <param name="y"/> documentation for "M:Godot.GridMap.SetCellItem(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"]
[Missing <param name="z"/> documentation for "M:Godot.GridMap.SetCellItem(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"]
[Missing <param name="item"/> documentation for "M:Godot.GridMap.SetCellItem(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"]
[Missing <param name="orientation"/> documentation for "M:Godot.GridMap.SetCellItem(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"]