Navigation
API > API/Plugins > API/Plugins/Niagara
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceGrid2DCollection.h |
| Include | #include "NiagaraDataInterfaceGrid2DCollection.h" |
Syntax
struct FGrid2DCollectionRWInstanceData_GameThread
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bPreviewGrid | ||
| FVector2D | CellSize | ||
| bool | ClearBeforeNonIterationStage | ||
| bool | NeedsRealloc | ||
| int32 | NumAttributes | ||
| FIntPoint | NumCells | ||
| TArray< uint32 > | Offsets | ||
| UNiagaraDataInterface * | OtherDI | We need to essentially make this a linked list to avoid more refactoring for now eventually we can clean this logic up, but this allows us to have a subclass that overrides the render thread data, which in this case is for a grid reader | |
| FGrid2DCollectionRWInstanceData_GameThread * | OtherInstanceData | ||
| TOptional< EPixelFormat > | PixelFormat | ||
| FIntVector4 | PreviewAttribute | ||
| FNiagaraParameterDirectBinding< UObject * > | RTUserParamBinding | A binding to the user ptr we're reading the RT from (if we are). | |
| UTextureRenderTarget * | TargetTexture | ||
| TArray< FNiagaraVariableBase > | Vars | ||
| FVector2D | WorldBBoxSize |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | FindAttributeIndexByName
(
const FName& InName, |
||
| bool | UpdateTargetTexture
(
ENiagaraGpuBufferFormat BufferFormat |