Contents

init(position:rotation:)

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

Declaration

init(position: simd_float3 = .zero, rotation: simd_quatf)

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