Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
UE::Math::TDualQuat< T > Struct Template Reference

#include <DualQuat.h>

Public Types

using FReal = T
 

Public Member Functions

 TDualQuat (const TQuat< T > &InR, const TQuat< T > &InD)
 
 TDualQuat (const TTransform< T > &Transform)
 
template<typename FArg , TEMPLATE_REQUIRES(!std::is_same_v< T, FArg >) >
 TDualQuat (const TDualQuat< FArg > &From)
 
TDualQuat< Toperator+ (const TDualQuat< T > &B) const
 
TDualQuat< Toperator* (const TDualQuat< T > &B) const
 
TDualQuat< Toperator* (const T S) const
 
TDualQuat< TNormalized () const
 
TTransform< TAsFTransform (TVector< T > Scale=TVector< T >(1.0f, 1.0f, 1.0f))
 

Public Attributes

TQuat< TR
 
TQuat< TD
 

Detailed Description

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

Definition at line 18 of file DualQuat.h.

Member Typedef Documentation

◆ FReal

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

Definition at line 21 of file DualQuat.h.

Constructor & Destructor Documentation

◆ TDualQuat() [1/3]

template<typename T >
UE::Math::TDualQuat< T >::TDualQuat ( const TQuat< T > & InR,
const TQuat< T > & InD )
inline

Definition at line 29 of file DualQuat.h.

◆ TDualQuat() [2/3]

template<typename T >
UE::Math::TDualQuat< T >::TDualQuat ( const TTransform< T > & Transform)
inline

Definition at line 34 of file DualQuat.h.

◆ TDualQuat() [3/3]

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

Definition at line 42 of file DualQuat.h.

Member Function Documentation

◆ AsFTransform()

template<typename T >
TTransform< T > UE::Math::TDualQuat< T >::AsFTransform ( TVector< T > Scale = TVector<T>(1.0f, 1.0f, 1.0f))
inline

Convert dual quat to transform

Definition at line 70 of file DualQuat.h.

◆ Normalized()

template<typename T >
TDualQuat< T > UE::Math::TDualQuat< T >::Normalized ( ) const
inline

Return normalized dual quat

Definition at line 63 of file DualQuat.h.

◆ operator*() [1/2]

template<typename T >
TDualQuat< T > UE::Math::TDualQuat< T >::operator* ( const T S) const
inline

Scale dual quat

Definition at line 57 of file DualQuat.h.

◆ operator*() [2/2]

template<typename T >
TDualQuat< T > UE::Math::TDualQuat< T >::operator* ( const TDualQuat< T > & B) const
inline

Dual quat product

Definition at line 51 of file DualQuat.h.

◆ operator+()

template<typename T >
TDualQuat< T > UE::Math::TDualQuat< T >::operator+ ( const TDualQuat< T > & B) const
inline

Dual quat addition

Definition at line 45 of file DualQuat.h.

Member Data Documentation

◆ D

template<typename T >
TQuat<T> UE::Math::TDualQuat< T >::D

half trans or dual part

Definition at line 26 of file DualQuat.h.

◆ R

template<typename T >
TQuat<T> UE::Math::TDualQuat< T >::R

rotation or real part

Definition at line 24 of file DualQuat.h.


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