Contents

offsetBy(rotation:)

Creates a new shape resource by applying a rotation.

Declaration

@MainActor @preconcurrency func offsetBy(rotation: simd_quatf) -> ShapeResource

Parameters

  • rotation:

    The rotation to apply to the existing shape resource.

Return Value

The transformed resource.

See Also

Transforming a shape