| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/StateTargets.h |
Include |
#include "BaseGizmos/StateTargets.h" |
class UGizmoTransformChangeStateTarget :
public UObject,
public IGizmoStateTarget
UGizmoTransformChangeStateTarget 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<... |
TargetComponent |
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 | ||
---|---|---|---|
|
UGizmoTransf... |
Construct ( |
Create and initialize an standard instance of UGizmoTransformChangeStateTarget |
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) |