Navigation
API > API/Plugins > API/Plugins/PluginUtils > API/Plugins/PluginUtils/FPluginUtils
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static PRAGMA_DISABLE_DEPRECATION_WARNINGSTSharedPtr< IPlugin > CreateAndMountNewPlugin
(
const FString& PluginName, |
Helper to create and mount a new plugin. Will fail if the plugin already exists | PluginUtils.h | |
static PRAGMA_DISABLE_DEPRECATION_WARNINGSTSharedPtr< IPlugin > CreateAndMountNewPlugin
(
const FString& PluginName, |
Helper to create and mount a new plugin. Will fail if the plugin already exists | PluginUtils.h |
CreateAndMountNewPlugin(const FString &, const FString &, const FNewPluginParams &, const FMountPluginParams &, FText &)
Description
Helper to create and mount a new plugin.
Will fail if the plugin already exists
| Name | CreateAndMountNewPlugin |
| Type | function |
| Header File | /Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Public/PluginUtils.h |
| Include Path | #include "PluginUtils.h" |
| Source | /Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Private/PluginUtils.cpp |
static PRAGMA_DISABLE_DEPRECATION_WARNINGSTSharedPtr < IPlugin > CreateAndMountNewPlugin
(
const FString & PluginName,
const FString & PluginLocation,
const FNewPluginParams & CreationParams,
const FMountPluginParams & MountParams,
FText & FailReason
)
The newly created plugin. If something goes wrong during the creation process, the plugin folder gets deleted and null is returned.
Parameters
| Name | Remarks |
|---|---|
| PluginName | Plugin name |
| PluginLocation | Directory that contains the plugin folder |
| CreationParams | Plugin creation parameters |
| MountParams | Plugin mounting parameters |
| FailReason | Reason the plugin creation/mount failed |
CreateAndMountNewPlugin(const FString &, const FString &, const FNewPluginParamsWithDescriptor &, const FMountPluginParams &, FText &)
Description
Helper to create and mount a new plugin.
Will fail if the plugin already exists
| Name | CreateAndMountNewPlugin |
| Type | function |
| Header File | /Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Public/PluginUtils.h |
| Include Path | #include "PluginUtils.h" |
| Source | /Engine/Plugins/Developer/PluginUtils/Source/PluginUtils/Private/PluginUtils.cpp |
static PRAGMA_DISABLE_DEPRECATION_WARNINGSTSharedPtr < IPlugin > CreateAndMountNewPlugin
(
const FString & PluginName,
const FString & PluginLocation,
const FNewPluginParamsWithDescriptor & CreationParams,
const FMountPluginParams & MountParams,
FText & FailReason
)
The newly created plugin. If something goes wrong during the creation process, the plugin folder gets deleted and null is returned.
Parameters
| Name | Remarks |
|---|---|
| PluginName | Plugin name |
| PluginLocation | Directory that contains the plugin folder |
| CreationParams | Plugin creation parameters |
| MountParams | Plugin mounting parameters |
| FailReason | Reason the plugin creation/mount failed |