Skip to main content

ViewpointCamera

Represents the properties of a camera viewpoint in a 3D space. This interface is compliant with the BCF API specifications.

Properties​

aspect_ratio​

aspect_ratio: number

The aspect ratio of the camera's view, typically defined as the ratio of width to height.


camera_direction​

camera_direction: object

The direction the camera is pointing towards, represented by x, y, and z components.

x​

x: number

y​

y: number

z​

z: number


camera_up_vector​

camera_up_vector: object

The upward direction vector of the camera, used to define the camera's orientation, represented by x, y, and z components.

x​

x: number

y​

y: number

z​

z: number


camera_view_point​

camera_view_point: object

The position of the camera in 3D space, defined by x, y, and z coordinates.

x​

x: number

y​

y: number

z​

z: number