s&box docs
API ReferenceSandbox.Clutter

public class Sandbox.Clutter.SlopeScatterer : Sandbox.Clutter.Scatterer

Scatterer that filters and selects assets based on the slope angle of the surface. Useful for placing different vegetation or rocks on flat vs steep terrain.

Constructors

Showing 1 constructors

Methods

Showing 1 methods

protected virtual System.Collections.Generic.List`1<Sandbox.Clutter.ClutterInstance> Generate(BBox bounds, Sandbox.Clutter.ClutterDefinition clutter, Sandbox.Scene scene = null)

Parameters

  • scene: Default: null

Properties

Showing 6 properties

public bool Sandbox.Clutter.SlopeScatterer.AlignToNormal { get; set; }

Align objects to surface normal.

public float Sandbox.Clutter.SlopeScatterer.Density { get; set; }

Points per square meter (density).

public float Sandbox.Clutter.SlopeScatterer.HeightOffset { get; set; }

Offset from ground surface.

public System.Collections.Generic.List`1<Sandbox.Clutter.SlopeMapping> Sandbox.Clutter.SlopeScatterer.Mappings { get; set; }

Define which entries spawn at which slope angles.

public bool Sandbox.Clutter.SlopeScatterer.UseFallback { get; set; }

Use random clutter entry if no slope mapping matches.

Metadata

FieldValue
NamespaceSandbox.Clutter
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Clutter.SlopeScatterer

On this page