engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
TransformConverter< TransformType > 模板结构体 参考

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

#include <TransformCalculus.h>

Public 成员函数

FRotator Convert (const FMatrix &Transform)
 Specialization for converting a FMatrix to an FRotator. 更多...
 

静态 Public 成员函数

template<typename OtherTransformType >
static TransformType Convert (const OtherTransformType &Transform)
 Default Conversion via a conversion ctor. 更多...
 
static const TransformType & Convert (const TransformType &Transform)
 Efficient NULL conversion.
 

详细描述

template<class TransformType>
struct TransformConverter< TransformType >

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

成员函数说明

◆ Convert() [1/2]

FRotator TransformConverter< FRotator >::Convert< FMatrix > ( const FMatrix &  Transform)
inline

Specialization for converting a FMatrix to an FRotator.

It uses a non-standard explicit conversion function.

◆ Convert() [2/2]

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

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.


该结构体的文档由以下文件生成: