Navigation
API > API/Plugins > API/Plugins/ScriptPlugin
The Script blueprint generates script-defined classes
| Name | UScriptBlueprint |
| Type | class |
| Header File | /Engine/Plugins/ScriptPlugin/Source/ScriptPlugin/Classes/ScriptBlueprint.h |
| Include Path | #include "ScriptBlueprint.h" |
Syntax
UCLASS (BlueprintType, EarlyAccessPreview)
class UScriptBlueprint : public UBlueprint
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintCore → UBlueprint → UScriptBlueprint
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UScriptBlueprint
(
const FObjectInitializer& ObjectInitializer |
ScriptBlueprint.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetImportData | TObjectPtr< class UAssetImportData > | ScriptBlueprint.h | ||
| ByteCode | TArray< uint8 > | Generated script bytecode | ScriptBlueprint.h | |
| SourceCode | FString | Script source code. | ScriptBlueprint.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsCodeDirty() |
ScriptBlueprint.h | ||
void UpdateScriptStatus() |
ScriptBlueprint.h | ||
void UpdateSourceCodeIfChanged() |
Checks if the source code changed and updates it if so (does not recompile the class) | ScriptBlueprint.h |
Overridden from UBlueprint
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UClass * GetBlueprintClass() |
ScriptBlueprint.h | ||
virtual bool SupportedByDefaultBlueprintFactory() |
ScriptBlueprint.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Override to ensure we write out the asset import data | ScriptBlueprint.h | |
virtual void GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
ScriptBlueprint.h | ||
virtual void PostLoad() |
ScriptBlueprint.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool ValidateGeneratedClass
(
const UClass* InClass |
ScriptBlueprint.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SourceFilePath_DEPRECATED | FString | ScriptBlueprint.h |