init(position:rotation:)
Creates a pose with the specified single-precision position vector and quaternion.
Declaration
init(position: Point3D = .zero, rotation: Rotation3D)Parameters
- position:
A vector that specifies the position of the pose.
- rotation:
A quaternion structure that specifies the rotation of the pose.