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.

Throws

IllegalStateException

If this resource is closed or invalid.


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.

Throws

IllegalStateException

If this resource is closed or invalid.