Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UClusterUnionComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool SweepComponent
(
FHitResult& OutHit, |
Trace a shape against just this component. | PhysicsEngine/ClusterUnionComponent.h | |
bool SweepComponent
(
TArray< FHitResult >& OutHit, |
PhysicsEngine/ClusterUnionComponent.h | ||
virtual bool SweepComponent
(
FHitResult& OutHit, |
Trace a shape against just this component. | PhysicsEngine/ClusterUnionComponent.h |
SweepComponent(FHitResult &, const FVector, const FVector, const FQuat &, const FCollisionShape &, bool)
Description
Trace a shape against just this component.
| Name | SweepComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ClusterUnionComponent.h |
| Include Path | #include "PhysicsEngine/ClusterUnionComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual bool SweepComponent
(
FHitResult & OutHit,
const FVector Start,
const FVector End,
const FQuat & ShapeWorldRotation,
const FCollisionShape & CollisionShape,
bool bTraceComplex
)
true if a hit is found
Parameters
| Name | Remarks |
|---|---|
| OutHit | Information about hit against this component, if true is returned |
| Start | Start location of the box |
| End | End location of the box |
| ShapeWorldRotation | The rotation applied to the collision shape in world space. |
| CollisionShape | Collision Shape |
| bTraceComplex | Whether or not to trace complex |
SweepComponent(TArray< FHitResult > &, const FVector, const FVector, const FQuat &, const FPhysicsGeometry &, ECollisionChannel, const struct FCollisionQueryParams &, const struct FCollisionResponseParams &, const struct FCollisionObjectQueryParams &)
| Name | SweepComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ClusterUnionComponent.h |
| Include Path | #include "PhysicsEngine/ClusterUnionComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ClusterUnionComponent.cpp |
bool SweepComponent
(
TArray < FHitResult > & OutHit,
const FVector Start,
const FVector End,
const FQuat & ShapeWorldRotation,
const FPhysicsGeometry & Geometry,
ECollisionChannel TraceChannel,
const struct FCollisionQueryParams & Params,
const struct FCollisionResponseParams & ResponseParams,
const struct FCollisionObjectQueryParams & ObjectParams
)
SweepComponent(FHitResult &, const FVector, const FVector, const FQuat &, const FPhysicsGeometry &, ECollisionChannel, const struct FCollisionQueryParams &, const struct FCollisionResponseParams &, const struct FCollisionObjectQueryParams &)
Description
Trace a shape against just this component.
| Name | SweepComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ClusterUnionComponent.h |
| Include Path | #include "PhysicsEngine/ClusterUnionComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ClusterUnionComponent.cpp |
virtual bool SweepComponent
(
FHitResult & OutHit,
const FVector Start,
const FVector End,
const FQuat & ShapeWorldRotation,
const FPhysicsGeometry & Geometry,
ECollisionChannel TraceChannel,
const struct FCollisionQueryParams & Params,
const struct FCollisionResponseParams & ResponseParams,
const struct FCollisionObjectQueryParams & ObjectParams
)
true if a hit is found
Parameters
| Name | Remarks |
|---|---|
| OutHit | Information about hit against this component, if true is returned |
| Start | Start location of the box |
| End | End location of the box |
| ShapeWorldRotation | The rotation applied to the collision shape in world space. |
| Geometry | Geometry to sweep with. |
| TraceChannel | The 'channel' that this query is in, used to determine which components to hit |
| Params | Additional parameters used for the trace |
| ResponseParam | ResponseContainer to be used for this trace |
| ObjectQueryParams | List of object types it's looking for |