Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- UPrimitiveComponent::SweepComponent()
- UInstancedStaticMeshComponent::SweepComponent()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual bool SweepComponent
&40;
FHitResult & OutHit,
const FVector Start,
const FVector End,
const FQuat & ShapeWorldRotation,
const FCollisionShape & CollisionShape,
bool bTraceComplex
&41;
Remarks
Trace a shape against just this component. true if a hit is found
Parameters
| Name | Description |
|---|---|
| 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 |