Type Method

camera

Creates a new camera object.

Declaration

+ (instancetype)camera;

Return Value

A new camera object.

Discussion

To use the camera to display a scene, attach it to the camera property of a node and then select that node using the pointOfView property of the view (or layer or renderer) rendering the scene.

See Also

Creating a Camera

+ cameraWithMDLCamera:

Creates a camera from the specified Model I/O camera object.