Class TerrainGenerationSettings
Contains immutable data that cannot be changed during the whole generation loop regarding terrain specific features.
Implements
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
public class TerrainGenerationSettings : IGenerationSettings
Fields
BasemapDistance
The distance the terrain rendering falls back to a pre-lightened basemap.
Declaration
public float BasemapDistance
Field Value
Type | Description |
---|---|
float |
BaseMapResolution
The resolution of the base map of the Terrain.
Declaration
public int BaseMapResolution
Field Value
Type | Description |
---|---|
int |
DrawInstanced
States whether to enable instanced drawing of the terrain.
Declaration
public bool DrawInstanced
Field Value
Type | Description |
---|---|
bool |
HeightmapPixelError
Trade-off between rendering performance and popup effects.
Declaration
public float HeightmapPixelError
Field Value
Type | Description |
---|---|
float |
HeightMapWorker
The input worker that is used as a height map.
Declaration
public MapWorker HeightMapWorker
Field Value
Type | Description |
---|---|
MapWorker |
HeightUploadChunkCount
The number of frames the upload process of the Heightmap to the VRAM is distributed into. A trade-off between performance and the time-span it takes.
Declaration
public int HeightUploadChunkCount
Field Value
Type | Description |
---|---|
int |
MaxHeight
The maximum height of the terrain.
Declaration
public float MaxHeight
Field Value
Type | Description |
---|---|
float |
MinHeight
The minimum height of the terrain.
Declaration
public float MinHeight
Field Value
Type | Description |
---|---|
float |
QuarterSizedTerrainObject
States whether the terrain is quarter the size of the processed data.
Declaration
public bool QuarterSizedTerrainObject
Field Value
Type | Description |
---|---|
bool |
TerrainGOLayer
The GameObject layer of the generated terrain.
Declaration
public int TerrainGOLayer
Field Value
Type | Description |
---|---|
int |
TerrainMaterial
The material used for terrain rendering.
Declaration
public Material TerrainMaterial
Field Value
Type | Description |
---|---|
Material |
TextureLayers
A list of pairs containing the TerrainLayers and their respective workers.
Declaration
public readonly List<KeyValuePair<TerrainLayer, MapWorker>> TextureLayers
Field Value
Type | Description |
---|---|
List<KeyValuePair<TerrainLayer, MapWorker>> |
TextureWeightmapUploadChunkCount
The number of frames the upload process of the TextureWeightmap to the VRAM is distributed into. A trade-off between performance and the time-span it takes.
Declaration
public int TextureWeightmapUploadChunkCount
Field Value
Type | Description |
---|---|
int |