Navigation
API > API/Runtime > API/Runtime/GeometryCore
3D Capsule stored as Line Segment and Radius
| Name | TCapsule3 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CapsuleTypes.h |
| Include Path | #include "CapsuleTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries3.h |
Syntax
template<typename T>
struct TCapsule3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCapsule3 () |
CapsuleTypes.h | ||
| CapsuleTypes.h | |||
| CapsuleTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Radius | T | Radius of the capsule | CapsuleTypes.h | |
| Segment | TSegment3< T > | Line segment of the capsule | CapsuleTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TVector< T > & Center() |
CapsuleTypes.h | ||
bool Contains
(
const TVector< T >& Point |
CapsuleTypes.h | ||
const TVector< T > & Direction() |
CapsuleTypes.h | ||
T DistanceSquared
(
const TVector< T >& Point |
CapsuleTypes.h | ||
T Extent() |
CapsuleTypes.h | ||
TAxisAlignedBox3< T > GetBounds() |
CapsuleTypes.h | ||
TOrientedBox3< T > GetOrientedBounds() |
CapsuleTypes.h | ||
T Length() |
CapsuleTypes.h | ||
T SignedDistance
(
const TVector< T >& Point |
CapsuleTypes.h | ||
T Volume () |
CapsuleTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T Volume
(
T Radius, |
Sphere utility functions | CapsuleTypes.h |