Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceRWBase
- UNiagaraDataInterfaceGrid2D
- UNiagaraDataInterfaceGrid2DCollection
- UNiagaraDataInterfaceGrid2DCollectionReader
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceRW.h |
| Include | #include "NiagaraDataInterfaceRW.h" |
Syntax
UCLASS&40;Abstract, EditInlineNew, MinimalAPI&41;
class UNiagaraDataInterfaceGrid2D : public UNiagaraDataInterfaceRWBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | ClearBeforeNonIterationStage | Option to clear the buffer prior to a stage where the iteration count does not match the grid resolution. | |
| int32 | NumAttributes | Number of Attributes. | |
| int32 | NumCellsMaxAxis | Number of cells on the longest axis. | |
| int32 | NumCellsX | Number of cells in X. | |
| int32 | NumCellsY | Number of cells in Y. | |
| bool | SetGridFromMaxAxis | Set grid resolution according to longest axis. | |
| FVector2D | WorldBBoxSize | World size of the grid. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceGrid2D
(
const FObjectInitializer& ObjectInitializer |
Overridden from UNiagaraDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | CopyToInternal
(
UNiagaraDataInterface* Destination |
||
| bool | Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | |
| bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetFunctions
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
VM functionality. | |
| void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
GPU sim functionality. | |
| void | GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
Returns the delegate for the passed function signature. | |
| void | ValidateFunction
(
const FNiagaraFunctionSignature& Function, |
Validates a function being compiled and allows interface classes to post custom compile errors when their API changes. |