G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UNiagaraDataInterfaceGrid2DCollectionReader Class Reference

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UNiagaraDataInterfaceGrid2DCollection
static UClass StaticClass ()
Static Public Member Functions inherited from UNiagaraDataInterfaceGrid2D
static UClass StaticClass ()
Static Public Member Functions inherited from UNiagaraDataInterfaceRWBase
static UClass StaticClass ()
Static Public Member Functions inherited from UNiagaraDataInterface
static UClass StaticClass ()

Public Attributes

Reader
FString DIName
 Name of the Grid2DCollection Data Interface on the emitter.
FString EmitterName
 Name of the emitter to read from.
Public Attributes inherited from UNiagaraDataInterfaceGrid2DCollection
ENiagaraGpuBufferFormat OverrideBufferFormat
 When enabled overrides the format used to store data inside the grid, otherwise uses the project default setting. Lower bit depth formats will save memory and performance at the cost of precision.
FName PreviewAttribute
 When enabled allows you to preview the grid in a debug display.
FNiagaraUserParameterBinding RenderTargetUserParameter
 Reference to a user parameter if we're reading one.
Public Attributes inherited from UNiagaraDataInterfaceGrid2D
int NumCellsX
 Number of cells in X.
int NumCellsY
 Number of cells in Y.
int NumCellsMaxAxis
 Number of cells on the longest axis.
int NumAttributes
 Number of Attributes.
bool SetGridFromMaxAxis
 Set grid resolution according to longest axis.
FVector2D WorldBBoxSize
 World size of the grid.
bool ClearBeforeNonIterationStage
 Option to clear the buffer prior to a stage where the iteration count does not match the grid resolution. Useful for stages where one wants to do sparse writes and accumulate values.

Additional Inherited Members

Public Member Functions inherited from UNiagaraDataInterfaceGrid2DCollection
bool FillTexture2D (const UNiagaraComponent Component, UTextureRenderTarget2D dest, int AttributeIndex)
 Fills a texture render target 2d with the current data from the simulation #todo(dmp): this will eventually go away when we formalize how data makes it out of Niagara.
void GetRawTextureSize (const UNiagaraComponent Component, int &SizeX, int &SizeY)
void GetTextureSize (const UNiagaraComponent Component, int &SizeX, int &SizeY)
bool FillRawTexture2D (const UNiagaraComponent Component, UTextureRenderTarget2D Dest, int &TilesX, int &TilesY)
void SetbPreviewGrid (bool Value)
void SetbOverrideFormat (bool Value)

Member Function Documentation

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ DIName

FString DIName

Name of the Grid2DCollection Data Interface on the emitter.

◆ EmitterName

FString EmitterName

Name of the emitter to read from.