Navigation
API > API/Plugins > API/Plugins/SceneStateEditor
Base struct describing a task and its instance for editor-only data and behavior
| Name | FSceneStateTaskDesc |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/SceneState/Source/SceneStateEditor/Public/Tasks/SceneStateTaskDesc.h |
| Include Path | #include "Tasks/SceneStateTaskDesc.h" |
Syntax
USTRUCT ()
struct FSceneStateTaskDesc
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSceneStateTaskDesc() |
Tasks/SceneStateTaskDesc.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSceneStateTaskDesc() |
Tasks/SceneStateTaskDesc.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SupportedTask | TObjectPtr< const UScriptStruct > | The task struct to support | Tasks/SceneStateTaskDesc.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FText GetDisplayName
(
const FSceneStateTaskDescContext& InContext |
Gets the display name of the task | Tasks/SceneStateTaskDesc.h | |
UObject * GetJumpTarget
(
const FSceneStateTaskDescContext& InContext |
Gets the target object to go to on node double click | Tasks/SceneStateTaskDesc.h | |
const UScriptStruct * GetSupportedTask() |
Return the task type this task desc supports | Tasks/SceneStateTaskDesc.h | |
FText GetTooltip
(
const FSceneStateTaskDescContext& InContext |
Gets the tooltip of the task | Tasks/SceneStateTaskDesc.h | |
void NotifyStructIdsChanged
(
const FSceneStateTaskDescMutableContext& InContext, |
Called when struct ids have been changed, to be handled by tasks individually | Tasks/SceneStateTaskDesc.h | |
void SetSupportedTask () |
Set the task struct to support | Tasks/SceneStateTaskDesc.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OnGetDisplayName
(
const FSceneStateTaskDescContext& InContext, |
Gets the display name for the task | Tasks/SceneStateTaskDesc.h | |
virtual bool OnGetJumpTarget
(
const FSceneStateTaskDescContext& InContext, |
Gets the target object to go to on node double click | Tasks/SceneStateTaskDesc.h | |
virtual bool OnGetTooltip
(
const FSceneStateTaskDescContext& InContext, |
Gets the tooltip for the task | Tasks/SceneStateTaskDesc.h | |
virtual void OnStructIdsChanged
(
const FSceneStateTaskDescMutableContext& InContext, |
Called when struct ids have been changed | Tasks/SceneStateTaskDesc.h |