offsetByRotation

Creates a new ShapeResource by applying the specified rotation.

Return

A new ShapeResource with the rotation applied.

Parameters

rotation

The rotation quaternion to apply.


Creates a new ShapeResource by applying the specified rotation using euler angles.

Return

A new ShapeResource with the rotation applied.

Parameters

eulerAngles

The rotation to apply as EulerAngles.