Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
UGizmoObjectModifyStateTarget is an implementation of IGizmoStateTarget that opens and closes change transactions on a target UObject via a GizmoManager.
| Name | UGizmoObjectModifyStateTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/StateTargets.h |
| Include Path | #include "BaseGizmos/StateTargets.h" |
Syntax
UCLASS (MinimalAPI)
class UGizmoObjectModifyStateTarget :
public UObject ,
public IGizmoStateTarget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoObjectModifyStateTarget
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ModifyObject | TWeakObjectPtr< UObject > | The object that will be changed, ie have Modify() called on it on BeginUpdate() | BaseGizmos/StateTargets.h | |
| TransactionDescription | FText | Localized text description of the transaction (will be visible in Editor on undo/redo) | BaseGizmos/StateTargets.h | |
| TransactionManager | TScriptInterface< IToolContextTransactionProvider > | Pointer to the GizmoManager or ToolManager that is used to open/close the transaction | BaseGizmos/StateTargets.h |
Functions
Public
Overridden from IGizmoStateTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginUpdate() |
BeginUpdate is called before a standard Gizmo begins changing a parameter (via a ParameterSource) | BaseGizmos/StateTargets.h | |
virtual void EndUpdate() |
EndUpdate is called when a standard Gizmo is finished changing a parameter (via a ParameterSource) | BaseGizmos/StateTargets.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UGizmoObjectModifyStateTarget * Construct
(
UObject* ModifyObjectIn, |
Create and initialize an standard instance of UGizmoObjectModifyStateTarget | BaseGizmos/StateTargets.h |