Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ComponentSweepMultiByChannel
(
TArray< struct FHitResult >& OutHits, |
Sweep the geometry of the supplied component using a specific channel, and determine the set of components that it hits. | Engine/World.h | |
bool ComponentSweepMultiByChannel
(
TArray< struct FHitResult >& OutHits, |
Engine/World.h |
ComponentSweepMultiByChannel(TArray< struct FHitResult > &, class UPrimitiveComponent *, const FVector &, const FVector &, const FQuat &, ECollisionChannel, const FComponentQueryParams &)
Description
Sweep the geometry of the supplied component using a specific channel, and determine the set of components that it hits.
The overload taking rotation as an FQuat is slightly faster than the version using FRotator (which will be converted to an FQuat)..
| Name | ComponentSweepMultiByChannel |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Collision/WorldCollision.cpp |
bool ComponentSweepMultiByChannel
(
TArray < struct FHitResult > & OutHits,
class UPrimitiveComponent * PrimComp,
const FVector & Start,
const FVector & End,
const FQuat & Rot,
ECollisionChannel TraceChannel,
const FComponentQueryParams & Params
) const
TRUE if OutHits contains any blocking hit entries
Parameters
| Name | Remarks |
|---|---|
| OutHits | Array of hits found between ray and the world |
| PrimComp | Component's geometry to test against the world. Transform of this component is ignored |
| Start | Start location of the trace |
| End | End location of the trace |
| Rot | Rotation of PrimComp geometry for test against the world (rotation remains constant over sweep) |
| Params | Additional parameters used for the trace |
ComponentSweepMultiByChannel(TArray< struct FHitResult > &, class UPrimitiveComponent *, const FVector &, const FVector &, const FRotator &, ECollisionChannel, const FComponentQueryParams &)
| Name | ComponentSweepMultiByChannel |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
bool ComponentSweepMultiByChannel
(
TArray < struct FHitResult > & OutHits,
class UPrimitiveComponent * PrimComp,
const FVector & Start,
const FVector & End,
const FRotator & Rot,
ECollisionChannel TraceChannel,
const FComponentQueryParams & Params
) const