Creates a new OscillatorBehavior.
Configuration options including the mandatory onUpdate callback.
The object this behavior is attached to. Set automatically.
ReadonlyuuidStatic ReadonlyinspectorReturns an independent copy of this behavior (own uuid, target cleared -- the caller is
expected to attachBehavior() it onto the new host, which sets target correctly via
onAttach()). Used by Object3D.clone() (Maker's Duplicate command).
Called 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.