Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceRigidMeshCollisionQuery
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataInterfaceRigidMeshCollisionQuery.h |
| Include | #include "NiagaraDataInterfaceRigidMeshCollisionQuery.h" |
Syntax
UCLASS&40;EditInlineNew, Category&61;"Collision", Meta&61;&40;DisplayName&61;"Rigid Mesh Collision Query"&41;&41;
class UNiagaraDataInterfaceRigidMeshCollisionQuery : public UNiagaraDataInterface
Remarks
Data Interface used to collide against static meshes - whether it is the mesh distance field or a physics asset's collision primitive
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FName > | ActorTags | Set of tags used to match against actors when searching for RigidBody providers. | |
| TArray< FName > | ComponentTags | Set of tags used to match against components when searching for RigidBody providers. | |
| int | MaxNumPrimitives | Maximum number of RigidBody represented by this DataInterface. | |
| bool | OnlyUseMoveable | If enabled only actors that are considered moveable will be searched for RigidBodies. | |
| TArray< TSoftObjectPtr< AActor > > | SourceActors | Hardcoded references to actors that will be used as RigidBody providers. | |
| bool | UseComplexCollisions | If enabled, complex collisions will be searched for. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceRigidMeshCollisionQuery
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | FilterActor
(
const AActor* Actor |
||
| bool | FilterComponent
(
const UPrimitiveComponent* Component |
||
| bool | FindActors
(
UWorld* World, |
||
| void | FindActorsCPU
(
FVectorVMExternalFunctionContext& Context |
||
| bool | GetExplicitActors
(
FNDIRigidMeshCollisionData& InstanceData |
||
| bool | UpdateSourceActors
(
FNiagaraSystemInstance* SystemInstance, |
Overridden from UNiagaraDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. | |
| ETickingGroup | CalculateTickGroup
(
const void* PerInstanceData |
||
| bool | CanExecuteOnTarget
(
ENiagaraSimTarget Target |
||
| bool | CopyToInternal
(
UNiagaraDataInterface* Destination |
Copy one niagara DI to this | |
| void | DestroyPerInstanceData
(
void* PerInstanceData, |
Destroys the per instance data for this interface. | |
| void | DrawDebugHud
(
FNDIDrawDebugHudContext& DebugHudContext |
Override this function to provide additional context to the debug HUD. | |
| bool | Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | |
| void | GetCommonHLSL
(
FString& OutHLSL |
GPU simulation functionality | |
| void | GetFeedback
(
UNiagaraSystem* InAsset, |
Query the data interface to give feedback to the end user. | |
| bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetFunctions
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
UNiagaraDataInterface Interface | |
| void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| 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 | PerInstanceTickPostSimulate
(
void* PerInstanceData, |
||
| void | ProvidePerInstanceDataForRenderThread
(
void* DataForRenderThread, |
Subclasses that wish to work with GPU systems/emitters must implement this. | |
| bool | |||
| void | SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. | |
| bool | UpgradeFunctionCall
(
FNiagaraFunctionSignature& FunctionSignature |
Allows data interfaces the opportunity to rename / change the function signature and perform an upgrade. | |
| void | ValidateFunction
(
const FNiagaraFunctionSignature& Function, |
Validates a function being compiled and allows interface classes to post custom compile errors when their API changes. |
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 | UObject Interface | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | GlobalSearchAllowed | Global search will be deprecated in favor of using a spatial search through the FindActors function. | |
| bool | GlobalSearchFallback_Unscripted | Global search will be deprecated in favor of using a spatial search through the FindActors function. | |
| bool | GlobalSearchForced | Global search will be deprecated in favor of using a spatial search through the FindActors function. | |
| FString | Tag_DEPRECATED |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | GlobalFindActors
(
UWorld* World, |
Global search will be deprecated in favor of using a spatial search through the FindActors function. |