Navigation
API > API/Editor > API/Editor/Persona
| Name | UPersonaToolMenuContext |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/PersonaToolMenuContext.h |
| Include Path | #include "PersonaToolMenuContext.h" |
Syntax
UCLASS (BlueprintType)
class UPersonaToolMenuContext : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPersonaToolMenuContext
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| WeakToolkit | TWeakPtr< IPersonaToolkit > | PersonaToolMenuContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAnimationAsset * GetAnimationAsset() |
Get the animation asset that we are editing | PersonaToolMenuContext.h |
|
UAnimBlueprint * GetAnimBlueprint() |
Get the anim blueprint that we are editing | PersonaToolMenuContext.h |
|
USkeletalMesh * GetMesh() |
Get the skeletal mesh that we are editing | PersonaToolMenuContext.h |
|
UDebugSkelMeshComponent * GetPreviewMeshComponent() |
Get the preview component that we are using | PersonaToolMenuContext.h |
|
USkeleton * GetSkeleton() |
Get the skeleton that we are editing | PersonaToolMenuContext.h |
|
TWeakPtr< IPersonaToolkit > GetToolkit() |
Get a weak ptr to the persona toolkit | PersonaToolMenuContext.h | |
void SetToolkit
(
TSharedRef< IPersonaToolkit > InToolkit |
Get the persona toolkit | PersonaToolMenuContext.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasValidToolkit() |
PersonaToolMenuContext.h |