unreal.XRCreativeTransformInteraction

class unreal.XRCreativeTransformInteraction(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

UXRCreativeTransformInteraction manages a 3D Translate/Rotate/Scale (TRS) Gizmo.

Gizmo local/global frame is not controlled here, the Gizmo looks this information up itself based on the EToolContextCoordinateSystem provided by the IToolsContextQueriesAPI implementation. You can configure the Gizmo to ignore this, in UpdateGizmoTargets()

Behavior of the TRS Gizmo (ie pivot position, etc) is controlled by a standard UTransformProxy.

C++ Source:

  • Plugin: XRCreativeFramework

  • Module: XRCreative

  • File: TransformInteraction.h

force_update_gizmo_state() None

Recreate Gizmo. Call when external state changes, like set of selected objects

set_enable_non_uniform_scaling(enable) None

Set Enable Non Uniform Scaling

Parameters:

enable (bool) –

set_enable_scaling(enable) None

Set Enable Scaling

Parameters:

enable (bool) –