Contents

init(position:rotation:)

Creates a pose from double-precision simd primitives that describe the position and rotation.

Declaration

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

Parameters

  • position:

    The position of the pose.

  • rotation:

    The rotation of the pose.