Contents

init(scale:rotation:translation:)

Creates an affine transform from the specified scale, rotate, and translate transforms.

Declaration

init(scale: Size3D = Size3D(width: 1.0, height: 1, depth: 1), rotation: Rotation3D = .zero, translation: Vector3D = .zero)

Parameters

  • scale:

    A size structure that specifies the scale.

  • rotation:

    A rotation structure that specifies the rotation.

  • translation:

    A vector that specifies the translation.

See Also

Creating a 3D affine transform structure