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.
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.