EvaluateSpectrumAtRunTimeEveryFrame#

Property in ShapeWaves

Whether to evaluate the spectrum every frame.

When false, the wave spectrum is evaluated once on startup in editor play mode and standalone builds, rather than every frame. This is less flexible, but it reduces the performance cost significantly.

Declaration#

public bool EvaluateSpectrumAtRunTimeEveryFrame { get; set; }