Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UNiagaraFunctionLibrary
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraFunctionLibrary.h |
| Include | #include "NiagaraFunctionLibrary.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UNiagaraFunctionLibrary : public UBlueprintFunctionLibrary
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraFunctionLibrary
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AcquireNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject |
Returns a free collision group for use in HWRT collision group filtering. Returns -1 on failure. | |
| bool | DefineFunctionHLSL
(
const FNiagaraFunctionSignature& FunctionSignature, |
||
| UNiagaraDataInterface * | GetDataInterface
(
UClass* DIClass, |
Finds an array interface of the given class. | |
| TDIType * | GetDataInterface
(
UNiagaraComponent* NiagaraSystem, |
Finds an array interface of the given class. | |
| UNiagaraParameterCollectionInstance * | GetNiagaraParameterCollection
(
UObject* WorldContextObject, |
This is gonna be totally reworked. | |
| UNiagaraDataInterfaceSkeletalMesh * | GetSkeletalMeshDataInterface
(
UNiagaraComponent* NiagaraSystem, |
Get the skeletal mesh data interface by name . | |
| bool | GetVectorVMFastPathExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
||
| const TArray< FNiagaraFunctionSignature > & | GetVectorVMFastPathOps
(
bool bIgnoreConsoleVariable |
||
| void | OverrideSystemUserVariableSkeletalMeshComponent
(
UNiagaraComponent* NiagaraSystem, |
Sets a Niagara StaticMesh parameter by name, overriding locally if necessary. | |
| void | OverrideSystemUserVariableStaticMesh
(
UNiagaraComponent* NiagaraSystem, |
||
| void | OverrideSystemUserVariableStaticMeshComponent
(
UNiagaraComponent* NiagaraSystem, |
Sets a Niagara StaticMesh parameter by name, overriding locally if necessary. | |
| void | ReleaseNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject, |
Releases a collision group back to the system for use by ohers. | |
| void | SetActorNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject, |
Sets the Niagara GPU ray traced collision group for all primitive components on the given actor. | |
| void | SetComponentNiagaraGPURayTracedCollisionGroup
(
UObject* WorldContextObject, |
Sets the Niagara GPU ray traced collision group for the give primitive component. | |
| 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. | |
| 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. | |
| void | SetSkeletalMeshDataInterfaceSamplingRegions
(
UNiagaraComponent* NiagaraSystem, |
Sets the SamplingRegion to use on the skeletal mesh data interface, this is destructive as it modifies the data interface. | |
| void | SetTexture2DArrayObject
(
UNiagaraComponent* NiagaraSystem, |
Overrides the 2D Array Texture for a Niagara 2D Array Texture Data Interface User Parameter. | |
| void | SetTextureObject
(
UNiagaraComponent* NiagaraSystem, |
Overrides the Texture Object for a Niagara Texture Data Interface User Parameter. | |
| void | SetVolumeTextureObject
(
UNiagaraComponent* NiagaraSystem, |
Overrides the Volume Texture for a Niagara Volume Texture Data Interface User Parameter. | |
| UNiagaraComponent * | SpawnSystemAtLocation
(
const UObject* WorldContextObject, |
Spawns a Niagara System at the specified world location/rotation | |
| UNiagaraComponent * | SpawnSystemAtLocationWithParams
(
const FFXSystemSpawnParameters& SpawnParams |
Spawns a Niagara System at the specified world location/rotation | |
| UNiagaraComponent * | SpawnSystemAttached
(
UNiagaraSystem* SystemTemplate, |
Spawns a Niagara System attached to a component | |
| UNiagaraComponent * | SpawnSystemAttached
(
UNiagaraSystem* SystemTemplate, |
||
| UNiagaraComponent * | SpawnSystemAttachedWithParams
(
const FFXSystemSpawnParameters& SpawnParams |
Spawns a Niagara System attached to a component |
Constants
| Name | Description |
|---|---|
| VectorVMOps | |
| VectorVMOpsHLSL |