Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USphereComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SphereComponent.h |
| Include | #include "Components/SphereComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SphereComponent.cpp |
void SetSphereRadius
&40;
float InSphereRadius,
bool bUpdateOverlaps
&41;
Remarks
Change the sphere radius. This is the unscaled radius, before component scale is applied.
Parameters
| Name | Description |
|---|---|
| InSphereRadius | the new sphere radius |
| bUpdateOverlaps | if true and this shape is registered and collides, updates touching array for owner actor. |