Table of Contents

Property alignToNormal

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

alignToNormal

Gets or sets whether spawned instances should be rotated toward the terrain normal.

public bool alignToNormal { get; set; }

Property Value

bool

Remarks

When enabled, object populators compute a terrain normal at the sample position, blend it with UnityEngine.Vector3.up using normalAlignmentError, then apply the resulting alignment on top of the sampled Y rotation from the instance buffer.