offsetByTranslation

Creates a new ShapeResource by applying the specified translation.

Return

A new ShapeResource with the translation applied.

Parameters

translation

The translation vector to apply.