Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraScriptSourceBase
- UNiagaraScriptSource
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScriptSourceBase.h |
| Include | #include "NiagaraScriptSourceBase.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UNiagaraScriptSourceBase : public UObject
Remarks
Runtime data for a Niagara system
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TSharedPtr< EditorExposedVectorConstant > > | ExposedVectorConstants | ||
| TArray< TSharedPtr< EditorExposedVectorCurveConstant > > | ExposedVectorCurveConstants | ||
| FOnChanged | OnChangedDelegate |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraScriptSourceBase
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddModuleIfMissing
(
FString ModulePath, |
Adds a module if it isn't already in the graph. | |
| void | ChangedLinkedInputTypes
(
const FNiagaraVariable& ParametersToCheck, |
||
| void | CleanUpOldAndInitializeNewRapidIterationParameters
(
const FVersionedNiagaraEmitter& Emitter, |
||
| void | CollectDataInterfaces
(
TArray< const UNiagaraDataInterfaceBase* >& DataInterfaces |
||
| TMap< FName, UNiagaraDataInterface * > | ComputeObjectNameMap
(
UNiagaraSystem& System, |
||
| void | ComputeVMCompilationId
(
FNiagaraVMExecutableDataId& Id, |
||
| void | |||
| FGuid | GetChangeID () |
||
| FGuid | GetCompileBaseId
(
ENiagaraScriptUsage InUsage, |
||
| FNiagaraCompileHash | GetCompileHash
(
ENiagaraScriptUsage InUsage, |
||
| void | GetLinkedPositionTypeInputs
(
const TArray< FNiagaraVariable >& ParametersToCheck, |
Checks if any of the provided variables are linked to function inputs of position type data | |
| bool | IsSynchronized
(
const FGuid& InChangeId |
Determines if the input change id is equal to the current source graph's change id. | |
| void | MarkNotSynchronized
(
FString Reason |
Enforce that the source graph is now out of sync with the script. | |
| FOnChanged & | OnChanged () |
||
| void | PostLoadFromEmitter
(
FVersionedNiagaraEmitter OwningEmitter |
Allows the derived editor only script source to handle a post load requested by an owning emitter. | |
| TSharedPtr< FNiagaraCompileRequestDataBase, ESPMode::ThreadSafe > | PreCompile
(
UNiagaraEmitter* Emitter, |
Cause the source to build up any internal variables that will be useful in the compilation process. | |
| void | |||
| void | Will conditionally refresh the graph's CompileId. | ||
| void | RegisterVMCompilationIdDependencies
(
FNiagaraVMExecutableDataId& Id, |
||
| void | RenameGraphAssignmentAndSetNodePins
(
const FName OldName, |
Rename all graph assignment and map set node pins. | |
| void | ReplaceScriptReferences
(
UNiagaraScript* OldScript, |
||
| void | SynchronizeGraphParametersWithParameterDefinitions
(
const TArray< UNiagaraParameterDefinitionsBase* > TargetDefinitions, |
Synchronize all source script variables that have been changed or removed from the parameter definitions to all eligible destination script variables owned by the graph. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | IsEditorOnly () |
Called during saving to determine if the object is forced to be editor only or not |
Typedefs
| Name | Description |
|---|---|
| FOnChanged |