Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/GizmoObjectStateTargets.h |
Include |
#include "EditorGizmos/GizmoObjectStateTargets.h" |
class UGizmoObjectTransformChangeStateTarget :
public UObject,
public IGizmoStateTarget
UGizmoObjectTransformChangeStateTarget is an implementation of IGizmoStateTarget that emits an FComponentWorldTransformChange on a target USceneComponent. This StateTarget also opens/closes an undo transaction via GizmoManager.
The DependentChangeSources and ExternalDependentChangeSources lists allow additional FChange objects to be inserted into the transaction, provided by IToolCommandChangeSource implementations.
Name | Description | ||
---|---|---|---|
|
ChangeDescription |
Localized text description of the transaction (will be visible in Editor on undo/redo) |
|
|
DependentChangeSources |
Dependent-change generators. |
|
|
ExternalDependentChangeSources |
Dependent-change generators that are not owned by this class, otherwise handled identically to DependentChangeSources |
|
|
FinalTransform |
End Transform, saved on EndUpdate() |
|
|
InitialTransform |
Start Transform, saved on BeginUpdate() |
|
|
TWeakObjectPtr<... |
TargetObject |
The object that will be changed, ie have Modify() called on it on BeginUpdate() |
|
TransactionManager |
Pointer to the GizmoManager or ToolManager that is used to open/close the transaction |
Name | Description | ||
---|---|---|---|
|
UGizmoObject... |
Construct ( |
Create and initialize an standard instance of UGizmoObjectTransformChangeStateTarget |
Name | Description | ||
---|---|---|---|
|
BeginUpdate() |
BeginUpdate is called before a standard Gizmo begins changing a parameter (via a ParameterSource) |
|
|
EndUpdate() |
EndUpdate is called when a standard Gizmo is finished changing a parameter (via a ParameterSource) |