API ReferenceSandbox.Clutter
SimpleScattererclass
Constructors1
Showing 1 constructors
public SimpleScatterer()
No results match this filter.
Methods1
Showing 1 methods
protected virtual System.Collections.Generic.List`1<Sandbox.Clutter.ClutterInstance> Generate(BBox bounds, Sandbox.Clutter.ClutterDefinition clutter, Sandbox.Scene scene = null)
| Parameter | Type | Description |
|---|---|---|
| bounds | BBox | — |
| clutter | ClutterDefinition | — |
| scene = null | Scene | — |
No results match this filter.
Properties5
Showing 5 properties
public bool Sandbox.Clutter.SimpleScatterer.AlignToNormal { get; set; }
Returns:
bool—public float Sandbox.Clutter.SimpleScatterer.Density { get; set; }
Points per square meter. 0.05 = sparse trees, 0.5 = dense grass.
Returns:
float—public float Sandbox.Clutter.SimpleScatterer.HeightOffset { get; set; }
Returns:
float—public bool Sandbox.Clutter.SimpleScatterer.PlaceOnGround { get; set; }
Returns:
bool—public RangedFloat Sandbox.Clutter.SimpleScatterer.Scale { get; set; }
Scale range for spawned objects.
No results match this filter.