UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Math::TCapsuleShape< T > Struct Template Reference

#include <CapsuleShape.h>

Public Types

using FReal = T
 

Public Member Functions

 TCapsuleShape ()
 
 TCapsuleShape (TVector< T > InCenter, T InRadius, TVector< T > InOrientation, T InLength)
 
template<typename FArg UE_REQUIRES>
 TCapsuleShape (const TCapsuleShape< FArg > &From)
 
bool IsInside (const TVector< T > &In, T Tolerance=UE_KINDA_SMALL_NUMBER) const
 

Public Attributes

TVector< T > Center
 
Radius
 
TVector< T > Orientation
 
Length
 

Member Typedef Documentation

◆ FReal

template<typename T >
using UE::Math::TCapsuleShape< T >::FReal = T

Constructor & Destructor Documentation

◆ TCapsuleShape() [1/3]

template<typename T >
UE::Math::TCapsuleShape< T >::TCapsuleShape ( )
inline

Default constructor.

◆ TCapsuleShape() [2/3]

template<typename T >
UE::Math::TCapsuleShape< T >::TCapsuleShape ( TVector< T >  InCenter,
InRadius,
TVector< T >  InOrientation,
InLength 
)
inline

Create and inintialize a new instance.

Parameters
InCenterThe capsule's center point.
InRadiusThe capsule's radius.
InOrientationThe capsule's orientation in space.
InLengthThe capsule's length.

◆ TCapsuleShape() [3/3]

template<typename T >
template<typename FArg UE_REQUIRES>
UE::Math::TCapsuleShape< T >::TCapsuleShape ( const TCapsuleShape< FArg > &  From)
inlineexplicit

Member Function Documentation

◆ IsInside()

template<typename T >
bool UE::Math::TCapsuleShape< T >::IsInside ( const TVector< T > &  In,
Tolerance = UE_KINDA_SMALL_NUMBER 
) const
inline

Member Data Documentation

◆ Center

template<typename T >
TVector<T> UE::Math::TCapsuleShape< T >::Center

The capsule's center point.

◆ Length

template<typename T >
T UE::Math::TCapsuleShape< T >::Length

The capsule's length.

◆ Orientation

template<typename T >
TVector<T> UE::Math::TCapsuleShape< T >::Orientation

The capsule's orientation in space.

◆ Radius

template<typename T >
T UE::Math::TCapsuleShape< T >::Radius

The capsule's radius.


The documentation for this struct was generated from the following file: