Table of Contents

Property normalAlignmentError

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

normalAlignmentError

Gets or sets how much random deviation is allowed when aligning spawned objects to the terrain normal.

public float normalAlignmentError { get; set; }

Property Value

float

Remarks

The value is clamped to [0, 1]. A value of 0 uses the terrain normal exactly, while larger values widen the random interpolation range around that normal by varying the blend factor between 1 - value and 1 + value.