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