跳转到内容

CameraDirectorReport

此内容尚不支持你的语言。

Defined in: sdk/src/camera/CameraDirector.ts:604

What the director is doing, as of its last frame: the live camera, the blend under way, and the cameras it chose among. The editor shows it on the Outliner’s camera rows and on the game view while playing.

blend: { duration: number; from: number | null; progress: number; to: number; } | null

Defined in: sdk/src/camera/CameraDirector.ts:608

The blend under way: from which camera (null when it left a blend part-way), and how far, 0 to 1.


cameras: CameraCandidateReport[]

Defined in: sdk/src/camera/CameraDirector.ts:611


live: number | null

Defined in: sdk/src/camera/CameraDirector.ts:606

The camera the view is, or blends into; null with no camera.


timeline: boolean

Defined in: sdk/src/camera/CameraDirector.ts:610

True while a timeline’s camera track holds the view.