sm.voxelTerrainCell.writeTileCellVoxels

Writes the voxel data from a tile to the cell's voxel grid.

Kind: Function

Environments: Terrain

Terrain

sm.voxelTerrainCell.writeTileCellVoxels(
    tileUid,
    cellOffsetX,
    cellOffsetY,
    rotationStep
)

Open the full Terrain reference

Parameters:

Name Type Description
tileUid Uuid The tile uuid.
cellOffsetX integer The tile cell X offset.
cellOffsetY integer The tile cell Y offset.
rotationStep integer The tile rotation (0-3).