Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceRWBase
- UNiagaraDataInterfaceGrid3D
- UNiagaraDataInterfaceNeighborGrid3D
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceNeighborGrid3D.h |
| Include | #include "NiagaraDataInterfaceNeighborGrid3D.h" |
Syntax
UCLASS (EditInlineNew, Category="Grid", CollapseCategories, Meta=(DisplayName="Neighbor Grid3D"),
MinimalAPI)
class UNiagaraDataInterfaceNeighborGrid3D : public UNiagaraDataInterfaceGrid3D
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceNeighborGrid3D
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
BEGIN_SHADER_PARAMETER_STRUCT
(
FShaderParameters |
|||
| void | GetMaxNeighborsPerCell
(
FVectorVMExternalFunctionContext& Context |
||
| void | GetNumCells
(
FVectorVMExternalFunctionContext& Context |
||
| void | GetWorldBBoxSize
(
FVectorVMExternalFunctionContext& Context |
||
| void | SetNumCells
(
FVectorVMExternalFunctionContext& Context |
||
| NumCells | SHADER_PARAMETER
(
FVector3f, |
||
| NumCellsCellSize | |||
| NumCellsCellSize MaxNeighborsPerCellValue | SHADER_PARAMETER_RDG_BUFFER_SRV
(
Buffer< int >, |
||
| NumCellsCellSize MaxNeighborsPerCellValue ParticleNeighborCount | SHADER_PARAMETER_RDG_BUFFER_UAV
(
RWBuffer< int >, |
Overridden from UNiagaraDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
GPU sim functionality. | |
| bool | CopyToInternal
(
UNiagaraDataInterface* Destination |
||
| void | DestroyPerInstanceData
(
void* PerInstanceData, |
Destroys the per instance data for this interface. | |
| bool | Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | |
| bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetFunctionsInternal
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
||
| void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
GPU sim functionality. | |
| void | GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
VM functionality. | |
| bool | |||
| bool | |||
| bool | InitPerInstanceData
(
void* PerInstanceData, |
Initializes the per instance data for this interface. | |
| int32 | Returns the size of the per instance data for this interface. | ||
| bool | PerInstanceTick
(
void* PerInstanceData, |
Ticks the per instance data for this interface, if it has any. | |
| bool | PerInstanceTickPostSimulate
(
void* PerInstanceData, |
||
| void | ProvidePerInstanceDataForRenderThread
(
void* DataForRenderThread, |
Subclasses that wish to work with GPU systems/emitters must implement this. | |
| void | SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. |
Overridden from UNiagaraDataInterfaceBase
| Type | Name | Description | |
|---|---|---|---|
| void | BuildShaderParameters
(
FNiagaraShaderParametersBuilder& ShaderParametersBuilder |
Override this method to provide parameters to the GPU (SRV / UAV / Constants / etc) The most common usage will be to provide a single structure which is nested with other parameters. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| NumCellsCellSize MaxNeighborsPerCellValue ParticleNeighborCount OutputParticleNeighborCount virtual ... | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Constants
| Name | Description |
|---|---|
| SetNumCellsFunctionName |