TTransform3

[TTransform3](API\Runtime\GeometryCore\TTransform3) is a double/float templated version of standard UE FTransform.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/TransformTypes.h

Include

#include "TransformTypes.h"

Syntax

template<typename RealType>
class TTransform3

Remarks

TTransform3 is a double/float templated version of standard UE FTransform.

Variables

Name Description

Protected variable

TQuaternion< Re...

 

Rotation

Protected variable

TVector< RealTy...

 

Scale3D

Protected variable

TVector< RealTy...

 

Translation

Constructors

Name Description

Public function

TTransform3()

Public function

TTransform3

(
    const UE::Math::TVector< RealType >...
)

Public function

TTransform3

(
    const FTransform& Transform
)

Public function

TTransform3

(
    const TQuaternion< RealType >& Rot...,
    const UE::Math::TVector< RealType >...
)

Public function

TTransform3

(
    const TQuaternion< RealType >& Rot...,
    const UE::Math::TVector< RealType >...,
    const UE::Math::TVector< RealType >...
)

Functions

Name Description

Public function

void

 

ClampMinimumScale

(
    RealType MinimumScale
)

Clamp all scale components to a minimum value.

Public function Const

RealType

 

GetDeterminant()

Public function Const

const TQuate...

 

GetRotation()

Public function Static

TVector< Rea...

 

GetSafeScaleReciprocal

(
    const TVector< RealType >& InScale,
    RealType Tolerance
)

Public function Const

const TVecto...

 

GetScale()

Public function Const

const TVecto...

 

GetTranslation()

Public function Const

bool

 

HasNonUniformScale

(
    RealType Tolerance
)

Public function Static

TTransform3<...

 

Identity()

Public function Const

TTransform3<...

 

Inverse()

Public function Const

TVector< Rea...

 

InverseTransformNormal

(
    const UE::Math::TVector< RealType2 ...
)

Public function Const

TVector< Rea...

 

InverseTransformNormal

(
    const UE::Math::TVector< RealType >...
)

Surface Normals are special, their inverse transform is InverseRotate( Normalize(Scale * Normal) ) )

Public function Const

TVector< Rea...

 

InverseTransformPosition

(
    const UE::Math::TVector< RealType2 ...
)

Public function Const

TVector< Rea...

 

InverseTransformPosition

(
    const UE::Math::TVector< RealType >...
)

Public function Const

UE::Math::TR...

 

InverseTransformRay

(
    const UE::Math::TRay< RealType >& ...
)

Public function Const

TVector< Rea...

 

InverseTransformVector

(
    const UE::Math::TVector< RealType >...
)

Public function Const

TVector< Rea...

 

InverseTransformVector

(
    const UE::Math::TVector< RealType2 ...
)

Public function Const

TVector< Rea...

 

InverseTransformVectorNoScale

(
    const UE::Math::TVector< RealType >...
)

Public function Const

TVector< Rea...

 

InverseTransformVectorNoScale

(
    const UE::Math::TVector< RealType2 ...
)

Public function

void

 

SetRotation

(
    const TQuaternion< RealType >& Rot...
)

Set Rotation portion of Transform

Public function

void

 

SetScale

(
    const UE::Math::TVector< RealType >...
)

Set Scale portion of transform

Public function

void

 

SetTranslation

(
    const UE::Math::TVector< RealType >...
)

Set Translation portion of transform

Public function Const

TVector< Rea...

 

TransformNormal

(
    const UE::Math::TVector< RealType >...
)

Surface Normals are special, their transform is Rotate( Normalize( (1/Scale) * Normal) ) ). However 1/Scale requires special handling in case any component is near-zero.

Public function Const

TVector< Rea...

 

TransformNormal

(
    const UE::Math::TVector< RealType2 ...
)

Public function Const

TVector< Rea...

 

TransformPosition

(
    const TVector< RealType >& P
)

Public function Const

TVector< Rea...

 

TransformPosition

(
    const UE::Math::TVector< RealType2 ...
)

Vector-type-conversion variants.

Public function Const

UE::Math::TR...

 

TransformRay

(
    const UE::Math::TRay< RealType >& ...
)

Public function Const

TVector< Rea...

 

TransformVector

(
    const UE::Math::TVector< RealType >...
)

Public function Const

TVector< Rea...

 

TransformVector

(
    const UE::Math::TVector< RealType2 ...
)

Public function Const

TVector< Rea...

 

TransformVectorNoScale

(
    const UE::Math::TVector< RealType >...
)

Public function Const

TVector< Rea...

 

TransformVectorNoScale

(
    const UE::Math::TVector< RealType2 ...
)

Operators

Name Description

Public function Const

 

operator FTransform()