| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScript.h |
Include |
#include "NiagaraScript.h" |
UCLASS(MinimalAPI)
class UNiagaraScript :
public UNiagaraScriptBase,
public FNiagaraVersionedObject
Runtime script for a Niagara system
Name | Description | ||
---|---|---|---|
|
RapidIterationParameters |
Contains all of the top-level values that are iterated on in the UI. |
|
|
RapidIterationParametersCookedEditorCache |
||
|
Usage |
How this script is to be used. cannot be private due to use of GET_MEMBER_NAME_CHECKED |
|
|
ValidationRules |
A set of rules to apply when this script is used in the stack. |
|
|
VersionToOpenInEditor |
This is used as a transient value to open a specific version in the graph editor |
Name | Description | |
---|---|---|
|
UNiagaraScript() |
|
|
UNiagaraScript ( |
Name | Description | ||
---|---|---|---|
|
FNiagaraShad... |
AllocateResource() |
|
|
bool |
AreScriptAndSourceSynchronized ( |
Determine if the Script and its source graph are in sync. |
|
bool |
BinaryToExecData ( |
Helper to convert the struct from its binary data out of the DDC to it's actual in-memory version. |
|
BuildNiagaraDDCKeyString ( |
Builds the DDC string for the derived data cache using the supplied CompiledId and ScriptPath |
|
|
void |
CacheResourceShadersForCooking ( |
Infrastructure for GPU compute Shaders. |
|
void |
CacheResourceShadersForRendering ( |
|
|
void |
CacheShadersForResources ( |
|
|
bool |
CanBeRunOnGpu() |
|
|
void |
CheckVersionDataAvailable() |
Makes sure that the default version data is available and fixes old script assets. |
|
void |
ComputeVMCompilationId ( |
|
|
bool |
ContainsEquivilentUsage ( |
|
|
bool |
ContainsUsage ( |
|
|
bool |
ConvertUsageToGroup ( |
|
|
UNiagaraScri... |
CreateCompilationCopy() |
Creates a shallow transient copy of this script for compilation purposes. |
|
bool |
DidScriptCompilationSucceed ( |
|
|
bool |
ExecToBinaryData ( |
Reverse of the BinaryToExecData() function |
|
FindShaderFormatsForCooking ( |
||
|
void |
GenerateStatIDs() |
|
|
GetBaseChangeID ( |
||
|
TConstArrayV... |
GetCachedDefaultDataInterfaces() |
|
|
GetCachedDefaultDataInterfaces() |
||
|
GetCachedParameterCollectionReferences() |
||
|
TOptional< F... |
GetCompilerTag ( |
|
|
GetCompilerTag ( |
||
|
const FNiaga... |
GetComputedVMCompilationId() |
|
|
TConstArrayV... |
GetDataInterfaceGPUParamInfos() |
|
|
GetDescription ( |
||
|
const FNiaga... |
GetExecutionReadyParameterStore ( |
|
|
GetFriendlyName() |
||
|
ENiagaraScri... |
GetLastCompileStatus() |
|
|
const FVersi... |
GetLatestScriptData() |
Returns the script data for latest exposed version. |
|
FVersionedNi... |
GetLatestScriptData() |
Returns the script data for latest exposed version. |
|
UNiagaraScri... |
GetLatestSource() |
|
|
const UNiaga... |
GetLatestSource() |
|
|
GetNiagaraDDCKeyString |
Creates a string key for the derived data cache |
|
|
FVersionedNi... |
GetOuterEmitter() |
Workaround for emitter versioning because we used a lot of Script->GetOuter() previously. |
|
FNiagaraShad... |
GetRenderThreadScript() |
|
|
const FNiaga... |
GetRenderThreadScript() |
|
|
FVersionedNi... |
GetScriptData ( |
Returns the script data for a specific version or nullptr if no such version is found. |
|
const FVersi... |
GetScriptData ( |
Returns the script data for a specific version or nullptr if no such version is found. |
|
const UNiaga... |
GetSource ( |
|
|
UNiagaraScri... |
GetSource ( |
|
|
GetSupportedUsageContextsForBitmask ( |
||
|
ENiagaraScri... |
GetUsage() |
|
|
GetUsageId() |
||
|
FNiagaraVMEx... |
GetVMExecutableData() |
|
|
const FNiaga... |
GetVMExecutableData() |
|
|
const FNiaga... |
GetVMExecutableDataCompilationId() |
|
|
FGraphEventR... |
HandleByteCodeOptimization ( |
Kicks off an async job to convert the ByteCode into an optimized version for the platform we are running on. |
|
bool |
HandleVariableRenames ( |
|
|
void |
InvalidateCompileResults ( |
|
|
void |
InvalidateExecutionReadyParameterStores() |
|
|
bool |
IsCompilable() |
|
|
bool |
IsCompilable ( |
|
|
bool |
IsDynamicInputScript ( |
|
|
bool |
IsDynamicInputScript() |
|
|
bool |
IsEmitterScript ( |
|
|
bool |
IsEmitterSpawnScript ( |
|
|
bool |
IsEmitterSpawnScript() |
|
|
bool |
IsEmitterUpdateScript() |
|
|
bool |
IsEmitterUpdateScript ( |
|
|
bool |
IsEquivalentUsage ( |
|
|
bool |
IsEquivalentUsage ( |
|
|
bool |
IsFunctionScript() |
|
|
bool |
IsFunctionScript ( |
|
|
bool |
IsGPUScript ( |
|
|
bool |
IsInterpolatedParticleSpawnScript ( |
|
|
bool |
IsInterpolatedParticleSpawnScript() |
|
|
bool |
IsModuleScript() |
|
|
bool |
IsModuleScript ( |
|
|
bool |
IsNonParticleScript() |
|
|
bool |
IsNonParticleScript ( |
|
|
bool |
IsParticleEventScript() |
|
|
bool |
IsParticleEventScript ( |
|
|
bool |
IsParticleScript() |
|
|
bool |
IsParticleScript ( |
|
|
bool |
IsParticleSpawnScript() |
|
|
bool |
IsParticleSpawnScript ( |
|
|
bool |
IsParticleStageScript ( |
|
|
bool |
IsParticleUpdateScript() |
|
|
bool |
IsParticleUpdateScript ( |
|
|
bool |
IsReadyToRun ( |
|
|
bool |
IsScriptCompilationPending ( |
|
|
bool |
IsScriptCooked() |
|
|
bool |
IsSpawnScript ( |
|
|
bool |
IsSpawnScript() |
|
|
bool |
IsStandaloneScript() |
|
|
bool |
IsStandaloneScript ( |
|
|
bool |
IsSupportedUsageContextForBitmask ( |
|
|
bool |
IsSystemScript ( |
|
|
bool |
IsSystemSpawnScript ( |
|
|
bool |
IsSystemSpawnScript() |
|
|
bool |
IsSystemUpdateScript ( |
|
|
bool |
IsSystemUpdateScript() |
|
|
bool |
IsUsageDependentOn ( |
Is usage A dependent on Usage B? |
|
void |
MarkScriptAndSourceDesynchronized |
Ensure that the Script and its source graph are marked out of sync. |
|
FOnScriptCom... |
OnGPUScriptCompiled() |
Callback issued whenever a GPU script compilation successfully happened (even if the results are a script that cannot be executed due to errors) |
|
FOnPropertyC... |
OnPropertyChanged() |
Callback issues whenever post edit changed is called on this script. |
|
FOnScriptCom... |
OnVMScriptCompiled() |
Callback issued whenever a VM script compilation successfully happened (even if the results are a script that cannot be executed due to errors) |
|
void |
PostEditChangeVersionedProperty ( |
|
|
void |
RaiseOnGPUCompilationComplete() |
|
|
void |
RequestCompile ( |
Request a synchronous compile for the script, possibly forcing it to compile. |
|
bool |
RequestExternallyManagedAsyncCompile ( |
Request an asynchronous compile for the script, possibly forcing it to compile. |
|
void |
SaveShaderStableKeys ( |
|
|
void |
SetLatestSource ( |
|
|
void |
SetPreviewFeatureLevel ( |
|
|
void |
SetSource ( |
|
|
void |
SetUsage ( |
|
|
void |
SetUsageId ( |
|
|
void |
SetVMCompilationResults ( |
External call used to identify the values for a successful VM script compilation. |
|
void |
SyncAliases ( |
|
|
bool |
SynchronizeExecutablesWithCompilation ( |
In the event where we "merge" we duplicate the changes of the source script onto the newly cloned copy. |
|
bool |
UsesCollection ( |
Name | Description | ||
---|---|---|---|
|
TConstArrayV... |
GetSimulationStageMetaData() |
|
|
void |
ModifyCompilationEnvironment ( |
|
|
bool |
ShouldCompile ( |
Name | Description | ||
---|---|---|---|
|
void |
BeginCacheForCookedPlatformData ( |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects |
|
void |
BeginDestroy() |
Called before destroying the object. |
|
void |
GetAssetRegistryTags ( |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects |
|
bool |
IsCachedCookedPlatformDataLoaded ( |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData |
|
bool |
IsEditorOnly() |
Called during saving to determine if the object is forced to be editor only or not |
|
bool |
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
|
void |
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
void |
PostEditUndo() |
Called after applying a transaction to the object. |
|
void |
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
void |
PreSave ( |
Presave function. |
|
void |
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
AddNewVersion ( |
Creates a new data entry for the given version number. |
|
|
void |
DeleteVersion ( |
Deletes the version data for an existing version. |
|
void |
DisableVersioning ( |
Disables versioning and keeps only the data from the given version guid. |
|
void |
EnableVersioning() |
Enables versioning for this script asset. |
|
void |
ExposeVersion ( |
Changes the exposed version. Does nothing if the guid does not exist in the script's version data. |
|
FNiagaraAsse... |
FindVersionData ( |
Returns the version data for the given guid, if it exists. Otherwise returns nullptr. |
|
GetAllAvailableVersions() |
Returns all available versions for this script. |
|
|
FNiagaraAsse... |
GetExposedVersion() |
Returns the version of the exposed version data (i.e. the version used when adding a module to the stack) |
|
TSharedPtr< ... |
GetVersionDataAccessor ( |
|
|
bool |
IsVersioningEnabled() |
If true then this script asset uses active version control to track changes. |
Name |
Description |
---|---|
FOnPropertyChanged |
|
FOnScriptCompiled |
Name |
Description |
---|---|
LogCompileStaticVars |
|
NiagaraCustomVersionTagName |
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bDeprecated_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
uint32: 1 |
bExperimental_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
uint32: 1 |
bExposeToLibrary_DEPRECATED |
Deprecated, use LibraryVisibility instead. |
|
Category_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
CollapsedViewFormat_DEPRECATED |
Deprecated, use LibraryVisibility instead. |
|
|
TSubclassOf< UN... |
ConversionUtility_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
DeprecationMessage_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
TObjectPtr< UNi... |
DeprecationRecommendation_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
Description_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
ExperimentalMessage_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
Keywords_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
LibraryVisibility_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
int32 |
ModuleUsageBitmask_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
NoteMessage_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
NumericOutputTypeSelectionMode_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
ProvidedDependencies_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
RequiredDependencies_DEPRECATED |
Use property in struct returned from GetScriptData() instead |
|
|
ScriptMetaData_DEPRECATED |
Deprecated, use LibraryVisibility instead. |
|
|
TObjectPtr< cla... |
Source_DEPRECATED |
'Source' data/graphs for this script |
|
int32 |
UsageIndex_DEPRECATED |
Which instance of the usage in the graph to use. This is now deprecated and is handled by UsageId. |
Name | Description | ||
---|---|---|---|
|
PRAGMA_DISAB... |
PreSave ( |
Use version that takes FObjectPreSaveContext instead. |