offsetByTranslationAndRotation

Creates a new ShapeResource by applying both a rotation and a translation.

Return

A new ShapeResource with the rotation and translation applied.

Parameters

rotation

The rotation quaternion to apply.

translation

The translation vector to apply.

Throws

IllegalStateException

If this resource is closed or invalid.


Creates a new ShapeResource by applying both a rotation (as euler angles) and a translation.

Return

A new ShapeResource with the eulerAngles and translation applied.

Parameters

eulerAngles

The rotation to apply as EulerAngles.

translation

The translation Vector3 to apply.

Throws

IllegalStateException

If this resource is closed or invalid.