init(scale:rotation:translation:)
Returns a new scale, rotate, translate transform.
Declaration
init(scale: Size3DFloat = Size3DFloat(width: 1.0, height: 1, depth: 1), rotation: Rotation3DFloat = .identity, translation: Vector3DFloat = .zero)Parameters
- scale:
The scale.
- rotation:
The rotation.
- translation:
The translation.