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&40;EditInlineNew, Category&61;"Grid", CollapseCategories, Meta&61;&40;DisplayName&61;"Neighbor Grid3D"&41;,
MinimalAPI&41;
class UNiagaraDataInterfaceNeighborGrid3D : public UNiagaraDataInterfaceGrid3D
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
uint32 | MaxNeighborsPerCell |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UNiagaraDataInterfaceNeighborGrid3D
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | GetMaxNeighborsPerCell
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | GetNumCells
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | GetWorldBBoxSize
(
FVectorVMExternalFunctionContext& Context |
|
![]() |
void | SetNumCells
(
FVectorVMExternalFunctionContext& Context |
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 | 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. |
![]() ![]() ![]() |
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. |
![]() ![]() ![]() |
bool | ShouldCompile
(
EShaderPlatform ShaderPlatform |
Allows data interfaces to prevent compilation of GPU shaders and is only called on the CDO object not the instance. |
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 | |
---|---|---|---|
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FShaderParameters |
Constants
Name | Description |
---|---|
SetNumCellsFunctionName |