Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- FNiagaraDataChannelGameDataWriterBase
- FNiagaraDataChannelGameDataWriter
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataChannelAccessor.h |
| Include | #include "NiagaraDataChannelAccessor.h" |
Syntax
struct FNiagaraDataChannelGameDataWriterBase
Remarks
Base clas for template data channel writer objects. Provides common, non-template functionality.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FNiagaraDataChannelGameDataPtr | Data |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Add
(
int32 Count |
Adds count elements to all variable buffers. | |
| void | BeginWrite () |
Call before we begin writing to this data. | |
| bool | BindVariable
(
int32 VariableIndex, |
Binds a specific variable to an index. | |
| FNiagaraDataChannelGameDataPtr & | GetData () |
||
| void |
Publish
(
FNiagaraDataChannelDataPtr& Destination |
Publish the contents of this writer's Data buffer to the given data channel data. | |
| void | Reserve
(
int32 Num |
Reserve space in buffers for all variables. | |
| void | SetNum
(
int32 Num |
Set the size of buffers for all variables. |