Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
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 , TEMPLATE_REQUIRES(!std::is_same_v< T, FArg >) >
 TCapsuleShape (const TCapsuleShape< FArg > &From)
 

Public Attributes

TVector< TCenter
 
T Radius
 
TVector< TOrientation
 
T Length
 

Detailed Description

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

Definition at line 19 of file CapsuleShape.h.

Member Typedef Documentation

◆ FReal

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

Definition at line 21 of file CapsuleShape.h.

Constructor & Destructor Documentation

◆ TCapsuleShape() [1/3]

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

Default constructor.

Definition at line 38 of file CapsuleShape.h.

◆ TCapsuleShape() [2/3]

template<typename T >
UE::Math::TCapsuleShape< T >::TCapsuleShape ( TVector< T > InCenter,
T InRadius,
TVector< T > InOrientation,
T 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.

Definition at line 48 of file CapsuleShape.h.

◆ TCapsuleShape() [3/3]

template<typename T >
template<typename FArg , TEMPLATE_REQUIRES(!std::is_same_v< T, FArg >) >
UE::Math::TCapsuleShape< T >::TCapsuleShape ( const TCapsuleShape< FArg > & From)
inlineexplicit

Definition at line 57 of file CapsuleShape.h.

Member Data Documentation

◆ Center

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

The capsule's center point.

Definition at line 24 of file CapsuleShape.h.

◆ Length

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

The capsule's length.

Definition at line 33 of file CapsuleShape.h.

◆ Orientation

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

The capsule's orientation in space.

Definition at line 30 of file CapsuleShape.h.

◆ Radius

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

The capsule's radius.

Definition at line 27 of file CapsuleShape.h.


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