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

Public Member Functions

Niagara
bool FillVolumeTexture (const UNiagaraComponent Component, UVolumeTexture 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 #todo(dmp): reimplement for 3d.
void GetRawTextureSize (const UNiagaraComponent Component, int &SizeX, int &SizeY, int &SizeZ)
void GetTextureSize (const UNiagaraComponent Component, int &SizeX, int &SizeY, int &SizeZ)
bool FillRawVolumeTexture (const UNiagaraComponent Component, UVolumeTexture Dest, int &TilesX, int &TilesY, int &TileZ)
Functions
void SetbPreviewGrid (bool Value)
void SetbOverrideFormat (bool Value)

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UNiagaraDataInterfaceGrid3D
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

Grid
FNiagaraUserParameterBinding RenderTargetUserParameter
 Reference to a user parameter if we're reading one.
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.
int NumAttributes
 Number of attributes stored on the grid.
Public Attributes inherited from UNiagaraDataInterfaceGrid3D
FIntVector NumCells
 Number of cells.
float32 CellSize
 World space size of a cell.
int NumCellsMaxAxis
 Number of cells on the longest axis.
ESetResolutionMethod SetResolutionMethod
 Method for setting the grid resolution.
FVector 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.

Member Function Documentation

◆ FillRawVolumeTexture()

bool FillRawVolumeTexture ( const UNiagaraComponent Component,
UVolumeTexture Dest,
int & TilesX,
int & TilesY,
int & TileZ )

◆ FillVolumeTexture()

bool FillVolumeTexture ( const UNiagaraComponent Component,
UVolumeTexture 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 #todo(dmp): reimplement for 3d.

◆ GetRawTextureSize()

void GetRawTextureSize ( const UNiagaraComponent Component,
int & SizeX,
int & SizeY,
int & SizeZ )

◆ GetTextureSize()

void GetTextureSize ( const UNiagaraComponent Component,
int & SizeX,
int & SizeY,
int & SizeZ )

◆ SetbOverrideFormat()

void SetbOverrideFormat ( bool Value)

◆ SetbPreviewGrid()

void SetbPreviewGrid ( bool Value)

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ NumAttributes

int NumAttributes

Number of attributes stored on the grid.

◆ OverrideBufferFormat

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.

◆ PreviewAttribute

FName PreviewAttribute

When enabled allows you to preview the grid in a debug display.

◆ RenderTargetUserParameter

FNiagaraUserParameterBinding RenderTargetUserParameter

Reference to a user parameter if we're reading one.