Navigation
API > API/Plugins > API/Plugins/Niagara
A C++ and Blueprint accessible library of utility functions for accessing Niagara simulations All positions & orientations are returned in Unreal reference frame & units, assuming the Leap device is located at the origin.
| Name | UNiagaraFunctionLibrary |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraFunctionLibrary.h |
| Include Path | #include "NiagaraFunctionLibrary.h" |
Syntax
UCLASS (MinimalAPI)
class UNiagaraFunctionLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UNiagaraFunctionLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNiagaraFunctionLibrary
(
const FObjectInitializer& ObjectInitializer |
NiagaraFunctionLibrary.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| VectorVMOps | TArray< FNiagaraFunctionSignature > | NiagaraFunctionLibrary.h | |
| VectorVMOpsHLSL | TArray< FString > | NiagaraFunctionLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 AcquireNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject |
Returns a free collision group for use in HWRT collision group filtering. Returns -1 on failure. | NiagaraFunctionLibrary.h |
|
static bool DefineFunctionHLSL
(
const FNiagaraFunctionSignature& FunctionSignature, |
NiagaraFunctionLibrary.h | ||
static UNiagaraDataInterface * GetDataInterface
(
UClass* DIClass, |
Finds an array interface of the given class. | NiagaraFunctionLibrary.h | |
static TDIType * GetDataInterface
(
UNiagaraComponent* NiagaraSystem, |
Finds an array interface of the given class. | NiagaraFunctionLibrary.h | |
static UNiagaraParameterCollectionInstance * GetNiagaraParameterCollection
(
UObject* WorldContextObject, |
This is gonna be totally reworked. | NiagaraFunctionLibrary.h |
|
static UNiagaraDataInterfaceSkeletalMesh * GetSkeletalMeshDataInterface
(
UNiagaraComponent* NiagaraSystem, |
Get the skeletal mesh data interface by name . | NiagaraFunctionLibrary.h | |
static bool GetVectorVMFastPathExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
NiagaraFunctionLibrary.h | ||
static const TArray< FNiagaraFunctionSignature > & GetVectorVMFastPathOps
(
bool bIgnoreConsoleVariable |
NiagaraFunctionLibrary.h | ||
static void InitVectorVMFastPathOps() |
NiagaraFunctionLibrary.h | ||
static void OverrideSystemUserVariableSkeletalMeshComponent
(
UNiagaraComponent* NiagaraSystem, |
Sets a Niagara StaticMesh parameter by name, overriding locally if necessary. | NiagaraFunctionLibrary.h |
|
static void OverrideSystemUserVariableStaticMesh
(
UNiagaraComponent* NiagaraSystem, |
NiagaraFunctionLibrary.h |
|
|
static void OverrideSystemUserVariableStaticMeshComponent
(
UNiagaraComponent* NiagaraSystem, |
Sets a Niagara StaticMesh parameter by name, overriding locally if necessary. | NiagaraFunctionLibrary.h |
|
static void ReleaseNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject, |
Releases a collision group back to the system for use by ohers. | NiagaraFunctionLibrary.h |
|
| Sets the Niagara GPU ray traced collision group for all primitive components on the given actor. | NiagaraFunctionLibrary.h |
|
|
static void SetComponentNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject, |
Sets the Niagara GPU ray traced collision group for the give primitive component. | NiagaraFunctionLibrary.h |
|
static void SetSceneCapture2DDataInterfaceManagedMode
(
UNiagaraComponent* NiagaraSystem, |
Sets managed mode parameters for the Scene capture 2D data interface, this is destructive as it modifies the data interface. | NiagaraFunctionLibrary.h |
|
static void SetSkeletalMeshDataInterfaceFilteredBones
(
UNiagaraComponent* NiagaraSystem, |
Sets the Filtered Bones to use on the skeletal mesh data interface, this is destructive as it modifies the data interface. | NiagaraFunctionLibrary.h |
|
static void SetSkeletalMeshDataInterfaceFilteredSockets
(
UNiagaraComponent* NiagaraSystem, |
Sets the Filtered Sockets to use on the skeletal mesh data interface, this is destructive as it modifies the data interface. | NiagaraFunctionLibrary.h |
|
static void SetSkeletalMeshDataInterfaceSamplingRegions
(
UNiagaraComponent* NiagaraSystem, |
Sets the SamplingRegion to use on the skeletal mesh data interface, this is destructive as it modifies the data interface. | NiagaraFunctionLibrary.h |
|
static void SetTexture2DArrayObject
(
UNiagaraComponent* NiagaraSystem, |
Overrides the 2D Array Texture for a Niagara 2D Array Texture Data Interface User Parameter. | NiagaraFunctionLibrary.h |
|
static void SetTextureObject
(
UNiagaraComponent* NiagaraSystem, |
Overrides the Texture Object for a Niagara Texture Data Interface User Parameter. | NiagaraFunctionLibrary.h |
|
static void SetVolumeTextureObject
(
UNiagaraComponent* NiagaraSystem, |
Overrides the Volume Texture for a Niagara Volume Texture Data Interface User Parameter. | NiagaraFunctionLibrary.h |
|
static UNiagaraComponent * SpawnSystemAtLocation
(
const UObject* WorldContextObject, |
Spawns a Niagara System at the specified world location/rotation | NiagaraFunctionLibrary.h |
|
static UNiagaraComponent * SpawnSystemAtLocationWithParams
(
const FFXSystemSpawnParameters& SpawnParams |
Spawns a Niagara System at the specified world location/rotation | NiagaraFunctionLibrary.h |
|
static UNiagaraComponent * SpawnSystemAttached
(
UNiagaraSystem* SystemTemplate, |
Spawns a Niagara System attached to a component | NiagaraFunctionLibrary.h |
|
static UNiagaraComponent * SpawnSystemAttached
(
UNiagaraSystem* SystemTemplate, |
NiagaraFunctionLibrary.h | ||
static UNiagaraComponent * SpawnSystemAttachedWithParams
(
const FFXSystemSpawnParameters& SpawnParams |
Spawns a Niagara System attached to a component | NiagaraFunctionLibrary.h |
|