rotate
Swift declarationmutating func rotate(by rotation: simd_quatd)Rotates the entity by the specified quaternion around the origin. - Parameter quaternion: The quaternion that defines the rotation.
protocol · iOS 16.0+ · SDK 27.1
protocol Rotatable3DA set of methods that defines the interface for Spatial entities that can rotate.
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.
mutating func rotate(by rotation: Rotation3D)Rotates the entity by the specified rotation around the origin. - Parameter rotation: The rotation.
No declarations were skipped in this snapshot.