One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

CameraControls

struct · iOS 18.0+ · SDK 27.1

struct CameraControls

Members (5)

get · iOS 18.0+

pan

TypeScript
static get pan(): CameraControls
Swift declaration
static var pan: CameraControls { get }

Move the viewport up, left, right, or down by dragging a trackpad or mouse.

get · iOS 18.0+

none

TypeScript
static get none(): CameraControls
Swift declaration
static var none: CameraControls { get }

Disable camera control via gestures.

get · iOS 18.0+

tilt

TypeScript
static get tilt(): CameraControls
Swift declaration
static var tilt: CameraControls { get }

Change the viewing angle by dragging a trackpad or mouse.

get · iOS 18.0+

dolly

TypeScript
static get dolly(): CameraControls
Swift declaration
static var dolly: CameraControls { get }

Move the camera forward and backward by dragging a trackpad or mouse.

get · iOS 18.0+

orbit

TypeScript
static get orbit(): CameraControls
Swift declaration
static var orbit: CameraControls { get }

Move the camera around a target by dragging a trackpad or mouse.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →