Table of Contents

Class HeightmapScatter

Namespace
VoxelPlayground.Entity.Terrain
Assembly
GamePlay.dll
[RequireComponent(typeof(HeightmapVoxels))]
public class HeightmapScatter : MonoBehaviour
Inheritance
object
HeightmapScatter
Extension Methods

Fields

Density

public float Density

Field Value

float

HeightRange

[MinMaxSlider(0, 255, false)]
public Vector2 HeightRange

Field Value

Vector2

NormalScale

public float NormalScale

Field Value

float

Prefab

public GameObject Prefab

Field Value

GameObject

ScaleRange

[MinMaxSlider(0, 2, false)]
public Vector2 ScaleRange

Field Value

Vector2

SlopeRange

[MinMaxSlider(0, 90, false)]
public Vector2 SlopeRange

Field Value

Vector2

Methods

GenerateScatter()

[Button("Generate Scatter")]
[ContextMenu("Generate Scatter")]
public void GenerateScatter()