camera Original

PerspectiveCameraComponent

Places a perspective projection camera in the scene for custom render targets.

iOS / iPadOS
13.0
since iOS 13.0
visionOS
1.0
since visionOS 1.0
macOS
12.0
since macOS 12.0
Add Component menu

Not listed in the Add Component menu. Must be attached programmatically at runtime.

entity.components.set(PerspectiveCameraComponent(…))