Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Transforms
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMultiTransformer
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Transforms/MultiTransformer.h |
| Include | #include "Transforms/MultiTransformer.h" |
Syntax
UCLASS&40;&41;
class UMultiTransformer : public UObject
Remarks
UMultiTransformer abstracts both a default TRS Gizmo, and the "Quick" translate/rotate Gizmos. The "Quick" part is not yet implemented, and we might end up phasing out this class.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFrame3d | ActiveGizmoFrame | ||
| FVector3d | ActiveGizmoScale | ||
| ETransformGizmoSubElements | ActiveGizmoSubElements | ||
| EMultiTransformerMode | ActiveMode | ||
| bool | bDisallowNegativeScaling | ||
| bool | bForceGizmoCoordSystem | ||
| bool | bInGizmoEdit | ||
| bool | bRepositionableGizmo | ||
| bool | bShouldBeVisible | ||
| TObjectPtr< UDragAlignmentMechanic > | DragAlignmentMechanic | We have to hold on to the mechanic only because the MultiTransformer has the capacity to delete and recreate its gizmo, in which case we'll need to attach the alignment mechanic again. | |
| TUniqueFunction< bool()> | EnableSnapToWorldGridFunc | ||
| EToolContextCoordinateSystem | GizmoCoordSystem | ||
| TObjectPtr< UInteractiveGizmoManager > | GizmoManager | Note: we could have more pivot change delegates, but we don't yet need them, and we might phase out the UMultiTransformer. | |
| TFunction< bool()> | IsNonUniformScaleAllowed | ||
| FMultiTransformerEvent | OnEndPivotEdit | This delegate is fired when a repositioning drag is completed | |
| FMultiTransformerEvent | OnTransformCompleted | This delegate is fired when the drag is completed | |
| FMultiTransformerEvent | OnTransformStarted | This delegate is fired when a drag is started | |
| FMultiTransformerEvent | OnTransformUpdated | This delegate is fired when a drag is updated | |
| IToolContextTransactionProvider * | TransactionProvider | ||
| TObjectPtr< UCombinedTransformGizmo > | TransformGizmo | ||
| TObjectPtr< UTransformProxy > | TransformProxy |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAlignmentMechanic
(
UDragAlignmentMechanic* AlignmentMechanic |
||
| const FFrame3d & | |||
| const FVector3d & | |||
| EToolContextCoordinateSystem | |||
| EMultiTransformerMode | GetMode () |
||
| bool | InGizmoEdit () |
||
| void | InitializeGizmoPositionFromWorldFrame
(
const FFrame3d& Frame, |
||
| void | OnBeginProxyTransformEdit
(
UTransformProxy* Proxy |
||
| void | OnEndProxyTransformEdit
(
UTransformProxy* Proxy |
||
| void | OnProxyTransformChanged
(
UTransformProxy* Proxy, |
Called on PlaneTransformProxy.OnTransformChanged | |
| void | ResetScale () |
||
| void | SetDisallowNegativeScaling
(
bool bDisallow |
||
| void | SetEnabledGizmoSubElements
(
ETransformGizmoSubElements EnabledSubElements |
||
| void | SetGizmoRepositionable
(
bool bOn |
||
| void | SetGizmoVisibility
(
bool bVisible |
||
| void | SetIsNonUniformScaleAllowedFunction
(
TFunction< bool()> IsNonUniformScaleAllowedIn |
||
| void | SetMode
(
EMultiTransformerMode NewMode |
||
| void | SetOverrideGizmoCoordinateSystem
(
EToolContextCoordinateSystem CoordSystem |
||
| void | SetSnapToWorldGridSourceFunc
(
TUniqueFunction< bool()> EnableSnapFunc |
||
| void | Setup
(
UInteractiveGizmoManager* GizmoManager, |
||
| void | Shutdown () |
||
| void | Tick
(
float DeltaTime |
||
| void | UpdateGizmoPositionFromWorldFrame
(
const FFrame3d& Frame, |
||
| void | UpdateShowGizmoState
(
bool bNewVisibility |
Typedefs
| Name | Description |
|---|---|
| FFrame3d | |
| FMultiTransformerEvent |