Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Features
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Features/IPluginsEditorFeature.h |
| Include | #include "Features/IPluginsEditorFeature.h" |
Syntax
struct FPluginTemplateDescription
Remarks
Description of a plugin template
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCanBePlacedInEngine | Can the plugin be in the engine folder? | |
| bool | bCanContainContent | Can the plugin contain content? | |
| FText | Description | Description of this template in the GUI | |
| ELoadingPhase::Type | LoadingPhase | What is the expected Loading Phase for this plugin? | |
| EHostType::Type | ModuleDescriptorType | What is the expected ModuleDescriptor type for this plugin? | |
| FText | Name | Name of this template in the GUI | |
| FString | OnDiskPath | Path to the directory containing template files | |
| TSharedPtr< FSlateDynamicImageBrush > | PluginIconDynamicImageBrush | Brush resource for the image that is dynamically loaded | |
| int32 | SortPriority | Sorting priority (higer values go to the top of the list) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPluginTemplateDescription
(
FText InName, |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CustomizeDescriptorBeforeCreation
(
FPluginDescriptor& Descriptor |
Called just before the plugin is created | |
| void | OnPluginCreated
(
TSharedPtr< IPlugin > NewPlugin |
Called after the plugin has been created | |
| void | UpdatePathWhenTemplateSelected
(
FString& InOutPath |
Called to enforce any restrictions this template has on paths when it is first selected (so it doesn't generate an error unnecessarily) | |
| void | UpdatePathWhenTemplateUnselected
(
FString& InOutPath |
Called to change away from special folders if needed | |
| bool | ValidatePathForPlugin
(
const FString& ProposedAbsolutePluginPath, |
Called to perform additional path validation when the path is modified (the bCanBePlacedInEngine validation will have already occurred and passed by this point) |