Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraDataChannelReader
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataChannelAccessor.h |
| Include | #include "NiagaraDataChannelAccessor.h" |
Syntax
UCLASS&40;Experimental, BlueprintType, MinimalAPI&41;
class UNiagaraDataChannelReader : public UObject
Remarks
Initial simple API for reading and writing data in a data channel from game code / BP. Likely to be replaced in the near future with a custom BP node and a helper struct.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UNiagaraDataChannelHandler > | Owner |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | InitAccess
(
FNiagaraDataChannelSearchParameters SearchParams, |
Call before each access to the data channel to grab the correct data to read. | |
| int32 | Num () |
||
| bool | |||
| double | |||
| int32 | |||
| FLinearColor | ReadLinearColor
(
FName VarName, |
||
| FVector | ReadPosition
(
FName VarName, |
||
| FQuat | |||
| FVector | ReadVector
(
FName VarName, |
||
| FVector2D | ReadVector2D
(
FName VarName, |
||
| FVector4 | ReadVector4
(
FName VarName, |