Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TransformConverter< TransformType > Struct Template Reference

#include <TransformCalculus.h>

Public Member Functions

FRotator3f Convert (const FMatrix44f &Transform)
 
FRotator3d Convert (const FMatrix44d &Transform)
 

Static Public Member Functions

static const TransformTypeConvert (const TransformType &Transform)
 
template<typename OtherTransformType >
static TransformType Convert (const OtherTransformType &Transform)
 

Detailed Description

template<class TransformType>
struct TransformConverter< TransformType >

Provides default logic (used by TransformCast) to convert one transform type to another via a conversion ctor.

Definition at line 237 of file TransformCalculus.h.

Member Function Documentation

◆ Convert() [1/4]

FRotator3d TransformConverter< FRotator3d >::Convert< FMatrix44d > ( const FMatrix44d & Transform)
inline

Definition at line 79 of file TransformCalculus3D.h.

◆ Convert() [2/4]

FRotator3f TransformConverter< FRotator3f >::Convert< FMatrix44f > ( const FMatrix44f & Transform)
inline

Specialization for converting a FMatrix to an FRotator. It uses a non-standard explicit conversion function.

Definition at line 75 of file TransformCalculus3D.h.

◆ Convert() [3/4]

Default Conversion via a conversion ctor. Note we are not using perfect forwarding here. Our types don't generally support move operations, nor do they make sense. VS 2013 seems to have trouble resolving the specializations below in the presence of perfect forwarding semantics.

Definition at line 250 of file TransformCalculus.h.

◆ Convert() [4/4]

template<class TransformType >
static const TransformType & TransformConverter< TransformType >::Convert ( const TransformType & Transform)
inlinestatic

Efficient NULL conversion.

Definition at line 240 of file TransformCalculus.h.


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