Navigation
API > API/Runtime > API/Runtime/GeometryCore
3D Sphere stored as Center point and Radius
| Name | TSphere3 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/SphereTypes.h |
| Include Path | #include "SphereTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries3.h |
Syntax
template<typename T>
struct TSphere3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSphere3 () |
SphereTypes.h | ||
| SphereTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Center | TVector< T > | Center of the sphere | SphereTypes.h | |
| Radius | T | Radius of the sphere | SphereTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T Area () |
SphereTypes.h | ||
T Circumference() |
SphereTypes.h | ||
| SphereTypes.h | |||
| SphereTypes.h | |||
T Diameter() |
SphereTypes.h | ||
T DistanceSquared
(
const TVector< T >& Point |
SphereTypes.h | ||
T SignedDistance
(
const TVector< T >& Point |
SphereTypes.h | ||
T Volume () |
SphereTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T Area
(
T Radius |
Sphere utility functions | SphereTypes.h | |
static T Volume
(
T Radius |
SphereTypes.h |