Stops a shake requested by the creating script; it does not report client playback.
public sealed class CameraShakeHandleRemarks
Player comfort settings, VR limits, distance, expiry or capacity can reduce or suppress playback. A shake ends when the player leaves the world. Passing a handle to another script does not grant control. Garbage collection does not stop the shake.
Members at a glance
| Kind | Members |
|---|---|
| Methods | Stop New in 47.10.0 |
Methods
Stop
New in 47.10.0
public void Stop(float fadeOut)Stops this shake with a fade in seconds; 0 stops immediately.
| Parameter | Type | Description |
|---|---|---|
fadeOut | float | Ending fade in seconds, clamped to 0 through 5; defaults to 0.1. |
Remarks
Only the creating script can stop this request. Repeated calls have no effect and do not prolong a fade. Stopping an inert or expired request has no visual effect.
Used in examples
CameraShakeExample.cs
Generated from the Sansar 47.10.0 client ScriptApi snapshot.