Contents

init(position:rotation:)

Creates a pose with the specified double-precision position vector and quaternion.

Declaration

init(position: simd_double3 = .zero, rotation: simd_quatd)

Parameters

  • position:

    A vector that specifies the position of the pose.

  • rotation:

    A quaternion structure that specifies the rotation of the pose.

See Also

Creating a 3D pose structure