shakeCamera
此内容尚不支持你的语言。
shakeCamera(
host,opts?):void
Defined in: camera/CameraDirector.ts:163
Trigger a transient camera shake on the active view — a decaying perturbation
applied to the rendered POV only (never to a camera’s Transform, so it always
recovers and never dirties the scene). The UE StartCameraShake analog.
Pass the App from host code, or the Res(CameraDirector) state from a system.
Parameters
Section titled “Parameters”CameraDirectorHost
amplitude?
Section titled “amplitude?”number
duration?
Section titled “duration?”number
frequency?
Section titled “frequency?”number
rotation?
Section titled “rotation?”number
Returns
Section titled “Returns”void