Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FCollisionQueryParams
- FComponentQueryParams
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/CollisionQueryParams.h |
| Include | #include "CollisionQueryParams.h" |
Syntax
struct FCollisionQueryParams
Remarks
Structure that defines parameters passed into collision function
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDebugQuery | ||
| bool | bFindInitialOverlaps | Whether we want to find out initial overlap or not. | |
| bool | bIgnoreBlocks | Whether to ignore blocking results. | |
| bool | bIgnoreTouches | Whether to ignore touch/overlap results. | |
| bool | bReturnFaceIndex | Whether we want to return the triangle face index for complex static mesh traces | |
| bool | bReturnPhysicalMaterial | Whether we want to include the physical material in the results. | |
| bool | bSkipNarrowPhase | Whether to skip narrow phase checks (only for overlaps). | |
| bool | bTraceComplex | Whether we should trace against complex collision | |
| bool | bTraceIntoSubComponents | Whether to ignore traces to the cluster union and trace against its children instead. | |
| FMaskFilter | IgnoreMask | Extra filtering done on the query. See declaration for filtering logic | |
| EQueryMobilityType | MobilityType | Filters query by mobility types (static vs stationary/movable) | |
| FName | OwnerTag | Tag used to indicate an owner for this trace | |
| TStatId | StatId | StatId used for profiling individual expensive scene queries | |
| FName | TraceTag | Tag used to provide extra information or filtering for debugging of the trace (e.g. Collision Analyzer) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructors. | |||
FCollisionQueryParams
(
FName InTraceTag, |
|||
FCollisionQueryParams
(
FName InTraceTag, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddIgnoredActor
(
const AActor* InIgnoreActor |
Add an actor for this trace to ignore | |
| void | AddIgnoredActor
(
const uint32 InIgnoreActorID |
Add an actor by ID for this trace to ignore | |
| void | AddIgnoredActors
(
const TArray< TWeakObjectPtr< const AActor > >& InIgnoreActors |
Variant that uses an array of TWeakObjectPtrs | |
| void | AddIgnoredActors
(
const TArray< const AActor* >& InIgnoreActors |
Add a collection of actors for this trace to ignore | |
| void | AddIgnoredActors
(
const TArray< AActor* >& InIgnoreActors |
Add a collection of actors for this trace to ignore | |
| void | AddIgnoredComponent
(
const UPrimitiveComponent* InIgnoreComponent |
Add a component for this trace to ignore | |
| void | AddIgnoredComponent_LikelyDuplicatedRoot
(
const UPrimitiveComponent* InIgnoreComponent |
Special variant that hints that we are likely adding a duplicate of the root component or first ignored component. | |
| void | AddIgnoredComponents
(
const TArray< UPrimitiveComponent* >& InIgnoreComponents |
Add a collection of components for this trace to ignore | |
| void | AddIgnoredComponents
(
const TArray< TWeakObjectPtr< UPrimitiveComponent >>& InIgnoreComponents |
Variant that uses an array of TWeakObjectPtrs | |
| void | Clears the set of actors to ignore during the trace. | ||
| void | Clears the set of components to ignore during the trace. | ||
| const IgnoreActorsArrayType & | Returns set of actors to ignore during the trace. | ||
| const IgnoreComponentsArrayType & | Returns set of unique components to ignore during the trace. | ||
| TStatId | |||
| void | SetNumIgnoredComponents
(
int32 NewNum |
Set the number of ignored components in the list. | |
| FString | ToString () |
Typedefs
| Name | Description |
|---|---|
| IgnoreActorsArrayType | TArray typedef of actors to ignore. |
| IgnoreComponentsArrayType | TArray typedef of components to ignore. |
Constants
| Name | Description |
|---|---|
| DefaultQueryParam | Static variable for default data to be used without reconstructing everytime |