VoxelGeneratorWaves
Voxel generator producing a wavy terrain pattern.
Voxel generator producing a wavy terrain pattern.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VoxelGeneratorWavesConstructor
public VoxelGeneratorWaves();Properties2
PatternOffsetProperty
public Vector2 PatternOffset { get; set; }Offset (or phase) of the waves.
PatternSizeProperty
public Vector2 PatternSize { get; set; }Length of the waves. Note that this only controls length across the X and Z axes. Height is controlled by VoxelGeneratorHeightmap.HeightStart and VoxelGeneratorHeightmap.HeightRange.
Methods4
GetPatternOffsetVector2
public Vector2 GetPatternOffset();Returns
Vector2GetPatternSizeVector2
public Vector2 GetPatternSize();Returns
Vector2SetPatternOffsetvoid
public void SetPatternOffset(Vector2 offset);| Name | Type | Default |
|---|---|---|
offset | Vector2 | — |
SetPatternSizevoid
public void SetPatternSize(Vector2 size);| Name | Type | Default |
|---|---|---|
size | Vector2 | — |
Reckfell Engine documentationBack to top ↑