Api Sandbox TerrainStorage
class

TerrainStorage

public class TerrainStorage : GameResource

Stores heightmaps, control maps and materials.

Constructors

TerrainStorage()

Properties

Name Type Description
HeightMap UInt16[]
ControlMap UInt32[]
Resolution Int32
TerrainSize Single Uniform world size of the width and length of the terrain.
TerrainHeight Single World size of the maximum height of the terrain.
Materials List<TerrainMaterial>
MaterialSettings TerrainMaterialSettings
ResourceVersion virtual Int32

Methods

Void SetResolution(Int32 resolution)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.TerrainStorage