Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
UTransformProxy is used to transform a set of sub-objects. An internal FTransform is generated based on the sub-object set, and the relative FTransform of each sub-object is stored. Then as this main transform is updated, the sub-objects are also updated.
Currently only USceneComponent sub-objects are supported.
If only one sub-object is set, the main transform is the sub-object transform. Otherwise the main transform is centered at the average origin and has no rotation.
| Name | UTransformProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformProxy.h |
| Include Path | #include "BaseGizmos/TransformProxy.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UTransformProxy : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UTransformProxy
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FRelativeObject |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnBeginPivotEdit | TMulticastDelegate_OneParam< void, UTransformProxy * > | This delegate is fired when BeginTransformEditSequence() is called to indicate that a sequence of pivot updates has started | BaseGizmos/TransformProxy.h |
| FOnBeginTransformEdit | TMulticastDelegate_OneParam< void, UTransformProxy * > | This delegate is fired when BeginTransformEditSequence() is called to indicate that a sequence of transform updates has started | BaseGizmos/TransformProxy.h |
| FOnEndPivotEdit | TMulticastDelegate_OneParam< void, UTransformProxy * > | This delegate is fired when EndTransformEditSequence() is called to indicate that a sequence of pivot updates has ended | BaseGizmos/TransformProxy.h |
| FOnEndTransformEdit | TMulticastDelegate_OneParam< void, UTransformProxy * > | This delegate is fired when EndTransformEditSequence() is called to indicate that a sequence of transform updates has ended | BaseGizmos/TransformProxy.h |
| FOnPivotChanged | TMulticastDelegate_TwoParams< void, UTransformProxy *, FTransform > | This delegate is fired whenever the internal transform changes due to a pivot reposition, ie on AddComponent and when SetTransform is called with bSetPivotMode being true. | BaseGizmos/TransformProxy.h |
| FOnTransformChanged | TMulticastDelegate_TwoParams< void, UTransformProxy *, FTransform > | This delegate is fired whenever the transform changes in a way that updates the contained components. | BaseGizmos/TransformProxy.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRotatePerObject | bool | If true, relative rotation of shared transform is applied to objects before relative translation (ie they rotate in place) | BaseGizmos/TransformProxy.h | |
| bSetPivotMode | bool | If true, then on SetTransform() the components are not moved, and their local transforms are recalculated | BaseGizmos/TransformProxy.h | |
| OnBeginPivotEdit | FOnBeginPivotEdit | BaseGizmos/TransformProxy.h | ||
| OnBeginTransformEdit | FOnBeginTransformEdit | BaseGizmos/TransformProxy.h | ||
| OnEndPivotEdit | FOnEndPivotEdit | BaseGizmos/TransformProxy.h | ||
| OnEndTransformEdit | FOnEndTransformEdit | BaseGizmos/TransformProxy.h | ||
| OnPivotChanged | FOnPivotChanged | BaseGizmos/TransformProxy.h | ||
| OnTransformChanged | FOnTransformChanged | BaseGizmos/TransformProxy.h | ||
| OnTransformChangedUndoRedo | FOnTransformChanged | This delegate is fired whenever the transform is changed by a FTransformProxyChange, ie on undo/redo. | BaseGizmos/TransformProxy.h |