cameraRigUpdate
此内容尚不支持你的语言。
cameraRigUpdate(
world,dt,screenAspect,director,collision?):void
Defined in: sdk/src/camera/CameraRig.ts:172
One frame of every camera’s pipeline, stage by stage. screenAspect is the width over the height of the screen the
cameras draw on (0 while it is not known), each camera measured by its share of it (cameraAspect.ts); director is
null where no view is resolved; collision is what the deoccluder sweeps with (the 3D physics plugin’s), or null.
Parameters
Section titled “Parameters”number
screenAspect
Section titled “screenAspect”number
director
Section titled “director”CameraDirectorState | null
collision?
Section titled “collision?”CameraCollisionProbe | null = null
Returns
Section titled “Returns”void