Skip to main content

Interface: CameraComponent

Camera component data.

Extends

Properties

componentType

componentType: ComponentType;

Component type.

Inherited from

Component.componentType


enabled

enabled: boolean;

Whether the component is enabled.

Inherited from

Component.enabled


projectionType

projectionType: ProjectionType;

Projection type.


perspectiveFov

perspectiveFov: number;

Perspective field of view.


orthographicSize

orthographicSize: number;

Orthographic size.


clippingNear

clippingNear: number;

Near clipping plane distance.


clippingFar

clippingFar: number;

Far clipping plane distance.


cullingMask

cullingMask: number;

Camera culling mask.