init(position:rotation:scale:)
Creates a pose from single-precision simd primitives that describe the position, rotation, and scale.
Declaration
init(position: simd_float3 = .zero, rotation: simd_quatf, scale: Float = 1)Parameters
- position:
The position of the scaled pose.
- rotation:
The rotation of the scaled pose.
- scale:
The uniform scale of the scaled pose.