Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry
This is the common base class for Toolsets defined as UObjects. UFunctions that define tools in this class should be static functions and be marked with meta = (AICallable). This is used both by UHT and the runtime UToolRegistry. UFunctions which should be ignored by tools should be marked with meta = (AIIgnore) in order to silence errors about invalid UFunctions
| Name | UToolsetDefinition |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/ToolsetDefinition.h |
| Include Path | #include "ToolsetRegistry/ToolsetDefinition.h" |
Syntax
UCLASS (BlueprintType, Abstract, MinimalAPI)
class UToolsetDefinition : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UToolsetDefinition
Derived Classes
UToolsetDefinition derived class hierarchy
Functions
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetToolsetVersion() |
Note that this virtual method is currently called on the class default object. | ToolsetRegistry/ToolsetDefinition.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TValueOrError< bool, FString > IsFunctionAICallable
(
const TObjectPtr< const UFunction >& Function |
Returns an Error if the function cannot be added to the tool and lacks the AIIgnore metadata. | ToolsetRegistry/ToolsetDefinition.h |