Navigation
API > API/Runtime > API/Runtime/Engine
A sphere generally used for simple collision. Bounds are rendered as lines in the editor.
| Name | UDrawSphereComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/DrawSphereComponent.h |
| Include Path | #include "Components/DrawSphereComponent.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, EditInlineNew, MinimalAPI)
class UDrawSphereComponent : public USphereComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPrimitiveComponent → UShapeComponent → USphereComponent → UDrawSphereComponent
Implements Interfaces
- IAsyncPhysicsStateProcessor
- IInterface_AssetUserData
- IInterface_AsyncCompilation
- INavRelevantInterface
- IPhysicsComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDrawSphereComponent
(
const FObjectInitializer& ObjectInitializer |
Components/DrawSphereComponent.h |
Functions
Public
Overridden from UPrimitiveComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ComponentIsTouchingSelectionBox
(
const FBox& InSelBBox, |
Determines whether the supplied bounding box intersects with the component. | Components/DrawSphereComponent.h | |
virtual bool ComponentIsTouchingSelectionFrustum
(
const FConvexVolume& InFrustum, |
Determines whether the supplied frustum intersects with the component. | Components/DrawSphereComponent.h |