Class TerrainGenerationState
The GenerationContext extension for terrain-related generation.
Implements
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
public class TerrainGenerationState : IGenerationState
Fields
FinalGenerationContext
The GenerationContext of the final terrain generation result.
Declaration
public GenerationContext FinalGenerationContext
Field Value
Type | Description |
---|---|
GenerationContext |
FinalTerrainCanvas
The TerrainCanvas of the latest finished pipeline iteration.
Declaration
public TerrainCanvas FinalTerrainCanvas
Field Value
Type | Description |
---|---|
TerrainCanvas |
GenerationContextUnderConstruction
The GenerationContext of the terrain that is currently generated.
Declaration
public GenerationContext GenerationContextUnderConstruction
Field Value
Type | Description |
---|---|
GenerationContext |
TerrainCanvasUnderConstruction
The TerrainCanvas of the current pipeline iteration that is not finished yet. This value is null if no TerrainCanvas is currently under construction.
Declaration
public TerrainCanvas TerrainCanvasUnderConstruction
Field Value
Type | Description |
---|---|
TerrainCanvas |
Properties
HasFinalTerrainCanvas
Gets a value indicating whether a FinalTerrainCanvas is available.
Declaration
public bool HasFinalTerrainCanvas { get; }
Property Value
Type | Description |
---|---|
bool |
HasTerrainCanvasUnderConstruction
Gets a value indicating whether there is a TerrainCanvasUnderConstruction.
Declaration
public bool HasTerrainCanvasUnderConstruction { get; }
Property Value
Type | Description |
---|---|
bool |