One Logo Pool Ball
SwiftUI · IOS API REFERENCE

SpatialEventCollection.Event.InputDevicePose

struct · iOS 18.0+ · SDK 27.1

struct InputDevicePose

A pose describing the input device like a hand controlling the event.

Members (4)

get · iOS 18.0+

azimuth

TypeScript
get azimuth(): _SwiftUICore_Angle
Swift declaration
var azimuth: Angle

The azimuth angle. An angle of zero points along the content's positive x-axis.

set · iOS 18.0+

azimuth

TypeScript
set azimuth(value: _SwiftUICore_Angle)
Swift declaration
var azimuth: Angle

The azimuth angle. An angle of zero points along the content's positive x-axis.

get · iOS 18.0+

altitude

TypeScript
get altitude(): _SwiftUICore_Angle
Swift declaration
var altitude: Angle

The altitude angle. An angle of zero indicates that the device is parallel to the content, while 90 degrees indicates that it is normal to the content surface.

set · iOS 18.0+

altitude

TypeScript
set altitude(value: _SwiftUICore_Angle)
Swift declaration
var altitude: Angle

The altitude angle. An angle of zero indicates that the device is parallel to the content, while 90 degrees indicates that it is normal to the content surface.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →