One Logo Pool Ball
Spatial · IOS API REFERENCE

Rotatable3D

protocol · iOS 16.0+ · SDK 27.1

protocol Rotatable3D

A set of methods that defines the interface for Spatial entities that can rotate.

Members (2)

method · iOS 16.0+

rotate

Swift declaration
mutating func rotate(by rotation: simd_quatd)

Rotates the entity by the specified quaternion around the origin. - Parameter quaternion: The quaternion that defines the rotation.

method · iOS 16.0+

rotate

Swift declaration
mutating func rotate(by rotation: Rotation3D)

Rotates the entity by the specified rotation around the origin. - Parameter rotation: The rotation.

Skipped declarations

No declarations were skipped in this snapshot.

All Spatial types →