Navigation
API > API/Plugins > API/Plugins/Niagara
Scripts are function graphs that define the runtime execution for a Niagara system (similar to a Blueprint).
There are three types of scripts: 1) Module: can be added as a standalone part to the emitter stack and encapsulates a single behavior, for example "Add Velocity" 2) Dynamic input: has a single output value and can be added to any input in the stack to compute such a value, for example "Random Vector" 3) Function: usually reserved for helper functions; can only be called from within modules or dynamic inputs
| Name | UNiagaraScript |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScript.h |
| Include Path | #include "NiagaraScript.h" |
Syntax
UCLASS (MinimalAPI)
class UNiagaraScript :
public UNiagaraScriptBase ,
public FNiagaraVersionedObject
Inheritance Hierarchy
- FNiagaraVersionedObject → UNiagaraScript
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraScriptBase → UNiagaraScript
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| NiagaraScript.h | |||
UNiagaraScript
(
const FObjectInitializer& ObjectInitializer |
NiagaraScript.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnPropertyChanged | TMulticastDelegate_OneParam< void, FPropertyChangedEvent & > | NiagaraScript.h | |
| FOnScriptCompiled | TMulticastDelegate_TwoParams< void, UNiagaraScript *, const FGuid & > | NiagaraScript.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LogCompileStaticVars | int32 | NiagaraScript.h | |
| NiagaraCustomVersionTagName | const FName | NiagaraScript.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RapidIterationParameters | FNiagaraParameterStore | Contains all of the top-level values that are iterated on in the UI. | NiagaraScript.h | |
| RapidIterationParametersCookedEditorCache | FNiagaraParameterStore | NiagaraScript.h | ||
| Usage | ENiagaraScriptUsage | How this script is to be used. cannot be private due to use of GET_MEMBER_NAME_CHECKED | NiagaraScript.h |
|
| ValidationRules | TArray< TObjectPtr< UNiagaraValidationRule > > | A set of rules to apply when this script is used in the stack. | NiagaraScript.h |
|
| VersionToOpenInEditor | FGuid | This is used as a transient value to open a specific version in the graph editor | NiagaraScript.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveCompileRoots | TArray< TObjectPtr< UObject > > | NiagaraScript.h |
|
|
| bMigrateParameterDataToHierarchyRoot | bool | Transient flag marking that the script will need to rebuild the hierarchy root based on the custom version encountered during serialize. | NiagaraScript.h | |
| bVersioningEnabled | bool | If true then this script asset uses active version control to track changes. | NiagaraScript.h | |
| CachedDefaultDataInterfaces | TArray< FNiagaraScriptDataInterfaceInfo > | NiagaraScript.h | ||
| CachedDefaultUObjects | TArray< FNiagaraScriptUObjectCompileInfo > | Populated from compilation process, used to generate resolved list. | NiagaraScript.h | |
| CachedParameterCollectionReferences | TArray< TObjectPtr< UNiagaraParameterCollection > > | NiagaraScript.h | ||
| CachedScriptResourcesForCooking | TMap< const class ITargetPlatform *, TArray< TUniquePtr< FNiagaraShaderScript > > > | Runtime stat IDs generated from StatScopes. script resources being cached for cooking. | NiagaraScript.h | |
| CachedScriptVM | FNiagaraVMExecutableData | Compiled VM bytecode and data necessary to run this script. | NiagaraScript.h | |
| CachedScriptVMId | FNiagaraVMExecutableDataId | Adjusted every time that we compile this script. | NiagaraScript.h | |
| CustomAssetRegistryTagCache | TOptional< TMap< FName, FString > > | NiagaraScript.h | ||
| DataInterfacesPendingInvalidation | TArray< TObjectPtr< UNiagaraDataInterface > > | These data interfaces are populated via InvalidateAndEmptyDefaultDataInterfaces(). | NiagaraScript.h |
|
| ExposedVersion | FGuid | The exposed version is the version that is used by default when a user adds this script somewhere. | NiagaraScript.h | |
| IsCooked | bool | Flag set on load based on whether we're loading from a cooked package. | NiagaraScript.h | |
| LastReportedVMId | FNiagaraVMExecutableDataId | NiagaraScript.h | ||
| LoadedScriptResources | TArray< FNiagaraShaderScript > | NiagaraScript.h | ||
| OnGPUScriptCompiledDelegate | FOnScriptCompiled | NiagaraScript.h | ||
| OnPropertyChangedDelegate | FOnPropertyChanged | NiagaraScript.h | ||
| OnVMScriptCompiledDelegate | FOnScriptCompiled | A multicast delegate which is called whenever the script has been compiled (successfully or not). | NiagaraScript.h | |
| PreviewMoviePath | FSoftObjectPath | NiagaraScript.h |
|
|
| ReleasedByRT | FThreadSafeBool | Flag used to guarantee that the RT isn't accessing the FNiagaraScriptResource before cleanup. | NiagaraScript.h | |
| ResolvedDataInterfaces | TArray< FNiagaraScriptResolvedDataInterfaceInfo > | NiagaraScript.h | ||
| ResolvedUObjectInfos | TArray< FNiagaraResolvedUObjectInfo > | Resolved objects are used to populate the script parameter stores, they are 1:1 mapping from variable -> object. | NiagaraScript.h | |
| ResolvedUserDataInterfaceBindings | TArray< FNiagaraResolvedUserDataInterfaceBinding > | NiagaraScript.h | ||
| ScriptExecutionBoundParameters | TArray< FNiagaraBoundParameter > | The cooked binding data between ScriptExecutionParamStore and RapidIterationParameters. | NiagaraScript.h | |
| ScriptExecutionParamStore | FNiagaraScriptExecutionParameterStore | The equivalent of ScriptExecutionParamStoreCPU (or GPU) cooked for the given platform. | NiagaraScript.h | |
| ScriptExecutionParamStoreCPU | FNiagaraScriptExecutionParameterStore | NiagaraScript.h |
|
|
| ScriptExecutionParamStoreGPU | FNiagaraScriptExecutionParameterStore | NiagaraScript.h |
|
|
| ScriptResource | TSharedPtr< FNiagaraShaderScript > | NiagaraScript.h | ||
| ScriptResourcesByFeatureLevel | TSharedPtr< FNiagaraShaderScript > | NiagaraScript.h | ||
| UsageId | FGuid | Specifies a unique id for use when there are multiple scripts with the same usage, e.g. events. | NiagaraScript.h | |
| VersionData | TArray< FVersionedNiagaraScriptData > | Contains all of the versioned script data. | NiagaraScript.h | |
| VersionedScriptAdapters | TArray< struct FVersionedNiagaraScript > | Editor time adapters to a specific VersionData and this Script ptr to handle synchronizing changes made by parameter definitions. | NiagaraScript.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ApplyRapidIterationParameters
(
TConstArrayView< FNiagaraVariable > InParameters, |
Updates the RI parameter store based on the provided variables (missing entries will be added and stale entries will be removed. Returns true if the parameter store was modified. | NiagaraScript.h | |
bool AreScriptAndSourceSynchronized
(
const FGuid& VersionGuid |
Determine if the Script and its source graph are in sync. | NiagaraScript.h | |
void AssignRapidIterationParameters
(
const FNiagaraVMExecutableData& InScriptVM |
NiagaraScript.h | ||
void CacheResourceShadersForCooking
(
EShaderPlatform ShaderPlatform, |
NiagaraScript.h | ||
void CacheResourceShadersForRendering
(
bool bRegenerateId, |
NiagaraScript.h | ||
void CacheShadersForResources
(
FNiagaraShaderScript* ResourceToCache, |
NiagaraScript.h | ||
bool CanBeRunOnGpu() |
NiagaraScript.h | ||
void CheckVersionDataAvailable() |
Makes sure that the default version data is available and fixes old script assets. | NiagaraScript.h | |
void ClearResolvedData () |
Clears out resolved runtime data. | NiagaraScript.h | |
void ComputeVMCompilationId
(
FNiagaraVMExecutableDataId& Id, |
NiagaraScript.h | ||
bool ContainsUsage
(
ENiagaraScriptUsage InUsage |
NiagaraScript.h | ||
UNiagaraScript * CreateCompilationCopy() |
Creates a shallow transient copy of this script for compilation purposes. | NiagaraScript.h | |
bool DidScriptCompilationSucceed
(
bool bGPUScript |
NiagaraScript.h | ||
TArray< FName > FindShaderFormatsForCooking
(
const ITargetPlatform* TargetPlatform |
NiagaraScript.h | ||
void GatherScriptStaticVariables
(
TArray< FNiagaraVariable >& StaticVariables |
Use of this function differs from the above in that the data is being pulled from the RapidIterationParameters rather than the compiled data | NiagaraScript.h | |
void GenerateStatIDs() |
NiagaraScript.h | ||
| NiagaraScript.h | |||
| NiagaraScript.h | |||
TConstArrayView< FNiagaraScriptDataInterfaceInfo > GetCachedDefaultDataInterfaces () |
NiagaraScript.h | ||
| NiagaraScript.h | |||
TConstArrayView< FNiagaraScriptUObjectCompileInfo > GetCachedDefaultUObjects () |
NiagaraScript.h | ||
TArray< TObjectPtr< UNiagaraParameterCollection > > & GetCachedParameterCollectionReferences() |
NiagaraScript.h | ||
TOptional< T > GetCompiledStaticVariableValue
(
const FNiagaraVariableBase& InVar |
NiagaraScript.h | ||
TOptional< T > GetCompilerTag
(
const FNiagaraVariableBase& InVar, |
NiagaraScript.h | ||
TOptional< FVector3d > GetCompilerTag
(
const FNiagaraVariableBase& InVar, |
NiagaraScript.h | ||
const FNiagaraVMExecutableDataId & GetComputedVMCompilationId() |
NiagaraScript.h | ||
TConstArrayView< FNiagaraDataInterfaceGPUParamInfo > GetDataInterfaceGPUParamInfos() |
NiagaraScript.h | ||
| NiagaraScript.h | |||
const FNiagaraScriptExecutionParameterStore * GetExecutionReadyParameterStore
(
ENiagaraSimTarget SimTarget |
NiagaraScript.h | ||
FString GetFriendlyName() |
NiagaraScript.h | ||
ENiagaraScriptCompileStatus GetLastCompileStatus() |
NiagaraScript.h | ||
| Returns the script data for latest exposed version. | NiagaraScript.h | ||
const FVersionedNiagaraScriptData * GetLatestScriptData () |
NiagaraScript.h | ||
| NiagaraScript.h | |||
const UNiagaraScriptSourceBase * GetLatestSource () |
NiagaraScript.h | ||
| Creates a string key for the derived data cache | NiagaraScript.h | ||
FVersionedNiagaraEmitter GetOuterEmitter() |
Workaround for emitter versioning because we used a lot of Script->GetOuter() previously. | NiagaraScript.h | |
const FNiagaraShaderScript * GetRenderThreadScript () |
NiagaraScript.h | ||
| NiagaraScript.h | |||
TConstArrayView< FNiagaraScriptResolvedDataInterfaceInfo > GetResolvedDataInterfaces() |
NiagaraScript.h | ||
TConstArrayView< FNiagaraResolvedUObjectInfo > GetResolvedUObjects() |
NiagaraScript.h | ||
TConstArrayView< FNiagaraResolvedUserDataInterfaceBinding > GetResolvedUserDataInterfaceBindings() |
NiagaraScript.h | ||
const FVersionedNiagaraScriptData * GetScriptData
(
const FGuid& VersionGuid |
NiagaraScript.h | ||
FVersionedNiagaraScriptData * GetScriptData
(
const FGuid& VersionGuid |
Returns the script data for a specific version or nullptr if no such version is found. | NiagaraScript.h | |
const UNiagaraScriptSourceBase * GetSource
(
const FGuid& VersionGuid |
NiagaraScript.h | ||
UNiagaraScriptSourceBase * GetSource
(
const FGuid& VersionGuid |
NiagaraScript.h | ||
ENiagaraScriptUsage GetUsage() |
NiagaraScript.h | ||
FGuid GetUsageId() |
NiagaraScript.h | ||
const FNiagaraVMExecutableData & GetVMExecutableData () |
NiagaraScript.h | ||
| NiagaraScript.h | |||
const FNiagaraVMExecutableDataId & GetVMExecutableDataCompilationId() |
NiagaraScript.h | ||
bool HandleVariableRenames
(
const TMap< FNiagaraVariable, FNiagaraVariable >& OldToNewVars, |
NiagaraScript.h | ||
bool HasScriptStaticVariables() |
NiagaraScript.h | ||
void InvalidateCompileResults
(
const FString& Reason |
NiagaraScript.h | ||
void InvalidateExecutionReadyParameterStores() |
NiagaraScript.h | ||
bool IsCompilable () |
NiagaraScript.h | ||
bool IsDynamicInputScript () |
NiagaraScript.h | ||
bool IsEmitterSpawnScript () |
NiagaraScript.h | ||
bool IsEmitterUpdateScript () |
NiagaraScript.h | ||
bool IsEquivalentUsage
(
ENiagaraScriptUsage InUsage |
NiagaraScript.h | ||
bool IsFunctionScript () |
NiagaraScript.h | ||
bool IsGPUScript () |
NiagaraScript.h | ||
| NiagaraScript.h | |||
bool IsModuleScript () |
NiagaraScript.h | ||
bool IsNonParticleScript () |
NiagaraScript.h | ||
bool IsParticleEventScript () |
NiagaraScript.h | ||
bool IsParticleScript () |
NiagaraScript.h | ||
bool IsParticleSpawnScript () |
NiagaraScript.h | ||
bool IsParticleUpdateScript () |
NiagaraScript.h | ||
bool IsReadyToRun
(
ENiagaraSimTarget SimTarget |
NiagaraScript.h | ||
bool IsScriptCompilationPending
(
bool bGPUScript |
NiagaraScript.h | ||
bool IsScriptCooked() |
NiagaraScript.h | ||
bool IsScriptShaderSynchronized
(
const FGuid& VersionGuid |
NiagaraScript.h | ||
bool IsShaderMapCached
(
const ITargetPlatform* TargetPlatform, |
NiagaraScript.h | ||
bool IsSpawnScript () |
NiagaraScript.h | ||
bool IsStandaloneScript () |
NiagaraScript.h | ||
bool IsSystemSpawnScript () |
NiagaraScript.h | ||
bool IsSystemUpdateScript () |
NiagaraScript.h | ||
| Ensure that the Script and its source graph are marked out of sync. | NiagaraScript.h | ||
FOnScriptCompiled & OnGPUScriptCompiled() |
Callback issued whenever a GPU script compilation successfully happened (even if the results are a script that cannot be executed due to errors) | NiagaraScript.h | |
FOnPropertyChanged & OnPropertyChanged() |
Callback issues whenever post edit changed is called on this script. | NiagaraScript.h | |
FOnScriptCompiled & OnVMScriptCompiled() |
Callback issued whenever a VM script compilation successfully happened (even if the results are a script that cannot be executed due to errors) | NiagaraScript.h | |
virtual void PostEditChangeVersionedProperty
(
FPropertyChangedEvent& PropertyChangedEvent, |
NiagaraScript.h | ||
void RaiseOnGPUCompilationComplete() |
NiagaraScript.h | ||
void RequestCompile
(
const FGuid& ScriptVersion, |
Request a synchronous compile for the script, possibly forcing it to compile. | NiagaraScript.h | |
bool RequestExternallyManagedAsyncCompile
(
const TSharedPtr< FNiagaraCompileRequestDataBase, ESPMode::ThreadSafe >& RequestData, |
Request an asynchronous compile for the script, possibly forcing it to compile. | NiagaraScript.h | |
void SaveShaderStableKeys
(
const ITargetPlatform* TP |
NiagaraScript.h | ||
void SetComputeCompilationResults
(
const ITargetPlatform* TargetPlatform, |
NiagaraScript.h | ||
void SetLatestSource
(
UNiagaraScriptSourceBase* InSource |
NiagaraScript.h | ||
void SetResolvedDataInterfaces
(
const TArray< FNiagaraScriptResolvedDataInterfaceInfo >& InResolvedDataInterfaces |
NiagaraScript.h | ||
void SetResolvedUObjects
(
TConstArrayView< FNiagaraResolvedUObjectInfo > InResolvedUObjectInfos |
NiagaraScript.h | ||
void SetResolvedUserDataInterfaceBindings
(
const TArray< FNiagaraResolvedUserDataInterfaceBinding >& InResolvedUserDataInterfaceBindings |
NiagaraScript.h | ||
void SetSource
(
UNiagaraScriptSourceBase* InSource, |
NiagaraScript.h | ||
void SetUsage
(
ENiagaraScriptUsage InUsage |
NiagaraScript.h | ||
void SetUsageId
(
const FGuid& InUsageId |
NiagaraScript.h | ||
void SetVMCompilationResults
(
const FNiagaraVMExecutableDataId& InCompileId, |
External call used to identify the values for a successful VM script compilation. | NiagaraScript.h | |
void SyncAliases
(
const FNiagaraAliasContext& ResolveAliasesContext |
NiagaraScript.h | ||
bool SynchronizeExecutablesWithCompilation
(
const UNiagaraScript* Script, |
In the event where we "merge" we duplicate the changes of the source script onto the newly cloned copy. | NiagaraScript.h | |
bool UsesCollection
(
const UNiagaraParameterCollection* Collection |
NiagaraScript.h |
Overridden from UNiagaraScriptBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TConstArrayView< FSimulationStageMetaData > GetSimulationStageMetaData() |
NiagaraScript.h | ||
virtual void ModifyCompilationEnvironment
(
EShaderPlatform Platform, |
NiagaraScript.h | ||
virtual bool ShouldCompile
(
EShaderPlatform Platform |
NiagaraScript.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
NiagaraScript.h | ||
virtual void BeginDestroy() |
NiagaraScript.h | ||
virtual void GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
NiagaraScript.h | ||
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
NiagaraScript.h | ||
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
NiagaraScript.h | ||
virtual bool IsEditorOnly() |
NiagaraScript.h | ||
virtual bool IsReadyForFinishDestroy() |
NiagaraScript.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
NiagaraScript.h | ||
virtual void PostEditUndo() |
NiagaraScript.h | ||
virtual void PostLoad() |
NiagaraScript.h | ||
virtual void PreSave
(
FObjectPreSaveContext ObjectSaveContext |
NiagaraScript.h | ||
virtual void Serialize
(
FArchive& Ar |
NiagaraScript.h |
Overridden from FNiagaraVersionedObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FGuid AddNewVersion
(
int32 MajorVersion, |
Creates a new data entry for the given version number. | NiagaraScript.h | |
virtual void DeleteVersion
(
const FGuid& VersionGuid |
Deletes the version data for an existing version. | NiagaraScript.h | |
virtual void DisableVersioning
(
const FGuid& VersionGuidToUse |
Disables versioning and keeps only the data from the given version guid. | NiagaraScript.h | |
virtual void EnableVersioning() |
Enables versioning for this script asset. | NiagaraScript.h | |
virtual void ExposeVersion
(
const FGuid& VersionGuid |
Changes the exposed version. Does nothing if the guid does not exist in the script's version data. | NiagaraScript.h | |
virtual FNiagaraAssetVersion const * FindVersionData
(
const FGuid& VersionGuid |
Returns the version data for the given guid, if it exists. Otherwise returns nullptr. | NiagaraScript.h | |
virtual TArray< FNiagaraAssetVersion > GetAllAvailableVersions() |
Returns all available versions for this script. | NiagaraScript.h | |
virtual FNiagaraAssetVersion GetExposedVersion() |
Returns the version of the exposed version data (i.e. the version used when adding a module to the stack) | NiagaraScript.h | |
virtual TSharedPtr< FNiagaraVersionDataAccessor > GetVersionDataAccessor
(
const FGuid& Version |
NiagaraScript.h | ||
virtual bool IsVersioningEnabled() |
If true then this script asset uses active version control to track changes. | NiagaraScript.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreGpuScriptsCompiledBySystem () |
Infrastructure for GPU compute Shaders. | NiagaraScript.h | |
static bool BinaryToExecData
(
const UNiagaraScript* Script, |
Helper to convert the struct from its binary data out of the DDC to it's actual in-memory version. | NiagaraScript.h | |
static void BuildClassSchema
(
FAppendToClassSchemaContext& Context |
Called from UNiagaraSystem::AppendToClassSchema() to collect the Script specific details for iterative cooking | NiagaraScript.h | |
static FString BuildNiagaraDDCKeyString
(
const FNiagaraVMExecutableDataId& CompileId, |
Builds the DDC string for the derived data cache using the supplied CompiledId and ScriptPath | NiagaraScript.h | |
static bool ContainsEquivilentUsage
(
const TArray< ENiagaraScriptUsage >& Usages, |
NiagaraScript.h | ||
static bool ConvertUsageToGroup
(
ENiagaraScriptUsage InUsage, |
NiagaraScript.h | ||
static UNiagaraDataInterface * CopyDataInterface
(
UNiagaraDataInterface* Src, |
NiagaraScript.h | ||
static bool ExecToBinaryData
(
const UNiagaraScript* Script, |
Reverse of the BinaryToExecData() function | NiagaraScript.h | |
static ERHIFeatureLevel::Type GetPreviewFeatureLevel() |
NiagaraScript.h | ||
static TArray< ENiagaraScriptUsage > GetSupportedUsageContextsForBitmask
(
int32 InModuleUsageBitmask, |
NiagaraScript.h | ||
static bool IsCompilable
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsDynamicInputScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsEmitterScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsEmitterSpawnScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsEmitterUpdateScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsEquivalentUsage
(
ENiagaraScriptUsage InUsageA, |
NiagaraScript.h | ||
static bool IsFunctionScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsGPUScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsInterpolatedParticleSpawnScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsModuleScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsNonParticleScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsParticleEventScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsParticleScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsParticleSpawnScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsParticleStageScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsParticleUpdateScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsSpawnScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsStandaloneScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsSupportedUsageContextForBitmask
(
int32 InModuleUsageBitmask, |
NiagaraScript.h | ||
static bool IsSystemScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsSystemSpawnScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsSystemUpdateScript
(
ENiagaraScriptUsage Usage |
NiagaraScript.h | ||
static bool IsUsageDependentOn
(
ENiagaraScriptUsage InUsageA, |
Is usage A dependent on Usage B? | NiagaraScript.h | |
static void SetPreviewFeatureLevel
(
ERHIFeatureLevel::Type PreviewFeatureLevel |
NiagaraScript.h | ||
static bool ShouldUseDDC() |
NiagaraScript.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDeprecated_DEPRECATED | uint32 | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| bExperimental_DEPRECATED | uint32 | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| bExposeToLibrary_DEPRECATED | uint32 | Deprecated, use LibraryVisibility instead. | NiagaraScript.h |
|
| Category_DEPRECATED | FText | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| CollapsedViewFormat_DEPRECATED | FText | Deprecated, use LibraryVisibility instead. | NiagaraScript.h |
|
| ConversionUtility_DEPRECATED | TSubclassOf< UNiagaraConvertInPlaceUtilityBase > | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| DeprecationMessage_DEPRECATED | FText | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| DeprecationRecommendation_DEPRECATED | TObjectPtr< UNiagaraScript > | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| Description_DEPRECATED | FText | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| ExperimentalMessage_DEPRECATED | FText | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| Keywords_DEPRECATED | FText | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| LibraryVisibility_DEPRECATED | ENiagaraScriptLibraryVisibility | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| ModuleUsageBitmask_DEPRECATED | int32 | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| NoteMessage_DEPRECATED | FText | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| NumericOutputTypeSelectionMode_DEPRECATED | ENiagaraNumericOutputTypeSelectionMode | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| ProvidedDependencies_DEPRECATED | TArray< FName > | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| RequiredDependencies_DEPRECATED | TArray< FNiagaraModuleDependency > | Use property in struct returned from GetScriptData() instead | NiagaraScript.h |
|
| ScriptMetaData_DEPRECATED | TMap< FName, FString > | Deprecated, use LibraryVisibility instead. | NiagaraScript.h |
|
| Source_DEPRECATED | TObjectPtr< class UNiagaraScriptSourceBase > | 'Source' data/graphs for this script | NiagaraScript.h |
|
| UsageIndex_DEPRECATED | int32 | Which instance of the usage in the graph to use. This is now deprecated and is handled by UsageId. | NiagaraScript.h |