Creates a new OscillatorBehavior.
Configuration options including the mandatory onUpdate callback.
The object this behavior is attached to. Set automatically.
ReadonlyuuidStatic ReadonlyinspectorCalled when the behavior is attached to an object.
Called when the behavior is detached from an object.
Called every frame to update the behavior logic.
The time elapsed since the last frame in seconds.
A generalized behavior that encapsulates mathematical oscillation (Sine, Noise, etc.). It does not know what it is animating, it only generates a value and calls the
onUpdatecallback.