FANDOM


Object representing a high performance bounded grid of static 4x4 parts. This class cannot be instantiated.

Properties

This class has seven properties.

Pubfield bool IsSmooth [readonly]

Pubfield Region3int16 MaxExtents [readonly]

Pubfield Color3 WaterColor

Pubfield float WaterReflectance

Pubfield float WaterTransparency

Pubfield float WaterWaveSize

Pubfield float WaterWaveSpeed

Methods

This class has twenty-two methods.

Pubmethod bool AutowedgeCell(int x, int y, int z) [deprecated]

Pubmethod void AutowedgeCells(Region3int16 region) [deprecated]

Pubmethod Vector3 CellCenterToWorld(int x, int y, int z)

Pubmethod Vector3 CellCornerToWorld(int x, int y, int z)

Pubmethod void Clear()

Protmethod void ConvertToSmooth() [PluginSecurity]

Pubmethod Instance CopyRegion(Region3int16 region)

Pubmethod int CountCells()

Pubmethod void FillBall(Vector3 center, float radius, Material material)

Pubmethod void FillBlock(CoordinateFrame cframe, Vector3 size, Material material)

Pubmethod void FillRegion(Region3 region, float resolution, Material material)

Pubmethod Tuple GetCell(int x, int y, int z) [deprecated]

Returns CellMaterial, CellBlock, CellOrientation

Pubmethod Tuple GetWaterCell(int x, int y, int z) [deprecated]

Returns hasAnyWater, WaterForce, WaterDirection

Pubmethod void PasteRegion(Instance region, Vector3int16 corner, bool pasteEmptyCells)

Pubmethod Tuple ReadVoxels(Region3 region, float resolution)

Pubmethod void SetCell(int x, int y, int z, CellMaterial material, CellBlock block, CellOrientation orientation) [deprecated]

Pubmethod void SetCells(Region3int16 region, CellMaterial material, CellBlock block, CellOrientation orientation) [deprecated]

Pubmethod void SetWaterCell(int x, int y, int z, WaterForce force, WaterDirection direction) [deprecated]

Pubmethod Vector3 WorldToCell(Vector3 position)

Pubmethod Vector3 WorldToCellPreferEmpty(Vector3 position)

Pubmethod Vector3 WorldToCellPreferSolid(Vector3 position)

Pubmethod void WriteVoxels(Region3 region, float resolution, Array materials, Array occupancy)

Community content is available under CC-BY-SA unless otherwise noted.