Contents

offsetBy(translation:)

Creates a new shape resource by applying a translation.

Declaration

@MainActor @preconcurrency func offsetBy(translation: SIMD3<Float>) -> ShapeResource

Parameters

  • translation:

    The translation to apply to the existing shape resource.

Return Value

The transformed resource.

See Also

Transforming a shape