![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PluginDescriptor.h>
Static Public Member Functions | |
| static PROJECTS_API const FString & | GetFileExtension () |
Static Public Attributes | |
| static PROJECTS_API FPluginDescriptorReaderDelegate | CustomPluginDescriptorReaderDelegate |
Descriptor for plugins. Contains all the information contained within a .uplugin file.
| FPluginDescriptor::FPluginDescriptor | ( | ) |
Constructor.
| FPluginDescriptor::DECLARE_DELEGATE_RetVal_FourParams | ( | bool | , |
| FPluginDescriptorReaderDelegate | , | ||
| const TCHAR * | , | ||
| FText * | , | ||
| TSharedPtr< FJsonObject > & | , | ||
| bool & | |||
| ) |
|
static |
Return the .uplugin extension (with dot)
Loads the descriptor from the given file.
Loads the descriptor from the given file.
Loads the descriptor from the given file.
| bool FPluginDescriptor::Read | ( | const FJsonObject & | Object, |
| FText & | OutFailReason | ||
| ) |
Reads the descriptor from the given JSON object
| bool FPluginDescriptor::Read | ( | const FJsonObject & | Object, |
| FText * | OutFailReason = nullptr |
||
| ) |
Reads the descriptor from the given JSON object
Reads the descriptor from the given string
Reads the descriptor from the given string
| bool FPluginDescriptor::ReadWithCustomPluginDescriptorReader | ( | const TCHAR * | FileName, |
| FText * | OutFailReason = nullptr |
||
| ) |
Saves the descriptor to the given file.
Saves the descriptor to the given file.
Saves the descriptor to the given file.
| bool FPluginDescriptor::SupportsTargetPlatform | ( | const FString & | Platform | ) | const |
Determines whether the plugin supports the given platform
| void FPluginDescriptor::UpdateJson | ( | FJsonObject & | JsonObject | ) | const |
Updates the given json object with values in this descriptor
Updates the content of the specified plugin file with values in this descriptor (hence preserving json fields that the plugin descriptor doesn't know about)
| bool FPluginDescriptor::UpdatePluginFile | ( | const FString & | FileName, |
| FText * | OutFailReason = nullptr |
||
| ) | const |
Updates the content of the specified plugin file with values in this descriptor (hence preserving json fields that the plugin descriptor doesn't know about)
| void FPluginDescriptor::Write | ( | FString & | Text | ) | const |
Writes a descriptor to JSON
| void FPluginDescriptor::Write | ( | TJsonWriter<> & | Writer | ) | const |
Writes a descriptor to JSON
| bool FPluginDescriptor::bCanContainContent |
Can this plugin contain content?
Whether this plugin has SceneGraph enabled, which impacts the generated Verse Asset Digest.
If to generate Verse source code definitions from assets contained in this plugin
| bool FPluginDescriptor::bExplicitlyLoaded |
When true, this plugin's modules will not be loaded automatically nor will it's content be mounted automatically. It will load/mount when explicitly requested and LoadingPhases will be ignored
| bool FPluginDescriptor::bHasExplicitPlatforms |
When true, an empty SupportedTargetPlatforms is interpreted as 'no platforms' with the expectation that explicit platforms will be added in plugin platform extensions
| bool FPluginDescriptor::bInstalled |
Signifies that the plugin was installed on top of the engine
| bool FPluginDescriptor::bIsHidden |
For auto-generated plugins that should not be listed in the plugin browser for users to disable freely.
| bool FPluginDescriptor::bIsPluginExtension |
If true, this plugin from a platform extension extending another plugin
| bool FPluginDescriptor::bIsSealed |
Prevents other plugins from depending on this plugin.
| bool FPluginDescriptor::bNoCode |
Prevents this plugin from containing code or modules.
| bool FPluginDescriptor::bRequiresBuildPlatform |
For plugins that are under a platform folder (eg. /PS4/), determines whether compiling the plugin requires the build platform and/or SDK to be available
| FString FPluginDescriptor::Category |
The name of the category this plugin
| FString FPluginDescriptor::CreatedBy |
The company or individual who created this plugin. This is an optional field that may be displayed in the user interface.
| FString FPluginDescriptor::CreatedByURL |
Hyperlink URL string for the company or individual who created this plugin. This is optional.
|
static |
| FString FPluginDescriptor::DeprecatedEngineVersion |
Set when a plugin is loaded that has the DeprecatedEngineVersion set.
| FString FPluginDescriptor::Description |
Description of the plugin
| TArray<FPluginDisallowedDescriptor> FPluginDescriptor::DisallowedPlugins |
Plugins that cannot be used by this plugin
| FString FPluginDescriptor::DocsURL |
Documentation URL string.
| FString FPluginDescriptor::EditorCustomVirtualPath |
Optional custom virtual path to display in editor to better organize. Inserted just before this plugin's directory in the path: /All/Plugins/EditorCustomVirtualPath/PluginName
| EPluginEnabledByDefault FPluginDescriptor::EnabledByDefault |
Whether this plugin should be enabled by default for all projects
| FString FPluginDescriptor::EngineVersion |
Version of the engine that this plugin is compatible with
| FString FPluginDescriptor::FriendlyName |
Friendly name of the plugin
| TArray<FLocalizationTargetDescriptor> FPluginDescriptor::LocalizationTargets |
List of all localization targets associated with this plugin
| FString FPluginDescriptor::MarketplaceURL |
Marketplace URL for this plugin. This URL will be embedded into projects that enable this plugin, so we can redirect to the marketplace if a user doesn't have it installed.
| TArray<FModuleDescriptor> FPluginDescriptor::Modules |
List of all modules associated with this plugin
| FString FPluginDescriptor::ParentPluginName |
If specified, this is the real plugin that this one is just extending
| TArray<FPluginReferenceDescriptor> FPluginDescriptor::Plugins |
Plugins used by this plugin
| FCustomBuildSteps FPluginDescriptor::PostBuildSteps |
Post-build steps for each host platform
| FCustomBuildSteps FPluginDescriptor::PreBuildSteps |
Pre-build steps for each host platform
| TArray<FString> FPluginDescriptor::SupportedPrograms |
List of programs that are supported by this plugin.
| TArray<FString> FPluginDescriptor::SupportedTargetPlatforms |
Controls a subset of platforms that can use this plugin, and which ones will stage the .uplugin file and content files. Generally, for code plugins, it should be the union of platforms that the modules in the plugin are compiled for.
| FString FPluginDescriptor::SupportURL |
Support URL/email for this plugin.
| FString FPluginDescriptor::VersePath |
The Verse path to the root of this plugin's content directory
| EVerseScope::Type FPluginDescriptor::VerseScope = EVerseScope::PublicUser |
Origin/visibility of Verse code in this plugin's Content/Verse folder
The version of the Verse language that this plugin targets. If no value is specified, the latest stable version is used.
| int32 FPluginDescriptor::Version |
Version number for the plugin. The version number must increase with every version of the plugin, so that the system can determine whether one version of a plugin is newer than another, or to enforce other requirements. This version number is not displayed in front-facing UI. Use the VersionName for that.
| FString FPluginDescriptor::VersionName |
Name of the version for this plugin. This is the front-facing part of the version number. It doesn't need to match the version number numerically, but should be updated when the version number is increased accordingly.