TRotationMatrix

Rotation matrix no translation

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/RotationMatrix.h

Include

#include "Math/RotationMatrix.h"

Syntax

template<typename T>
struct TRotationMatrix : public UE::Math::TRotationTranslationMatrix< T >

Remarks

Rotation matrix no translation

Constructors

Name Description

Public function

TRotationMatrix

(
    const TRotator< T >& Rot
)

Constructor.

Functions

Name Description

Public function Static

TMatrix< T >

 

Make

(
    TRotator< T > const& Rot
)

Matrix factory. Return an TMatrix so we don't have type conversion issues in expressions.

Public function Static

TMatrix< T >

 

Make

(
    TQuat< T > const& Rot
)

Matrix factory. Return an TMatrix so we don't have type conversion issues in expressions.

Public function Static

TMatrix< T >

 

MakeFromX

(
    TVector< T > const& XAxis
)

Builds a rotation matrix given only a XAxis.

Public function Static

TMatrix< T >

 

MakeFromXY

(
    TVector< T > const& XAxis,
    TVector< T > const& YAxis
)

Builds a matrix with given X and Y axes.

Public function Static

TMatrix< T >

 

MakeFromXZ

(
    TVector< T > const& XAxis,
    TVector< T > const& ZAxis
)

Builds a matrix with given X and Z axes.

Public function Static

TMatrix< T >

 

MakeFromY

(
    TVector< T > const& YAxis
)

Builds a rotation matrix given only a YAxis.

Public function Static

TMatrix< T >

 

MakeFromYX

(
    TVector< T > const& YAxis,
    TVector< T > const& XAxis
)

Builds a matrix with given Y and X axes.

Public function Static

TMatrix< T >

 

MakeFromYZ

(
    TVector< T > const& YAxis,
    TVector< T > const& ZAxis
)

Builds a matrix with given Y and Z axes.

Public function Static

TMatrix< T >

 

MakeFromZ

(
    TVector< T > const& ZAxis
)

Builds a rotation matrix given only a ZAxis.

Public function Static

TMatrix< T >

 

MakeFromZX

(
    TVector< T > const& ZAxis,
    TVector< T > const& XAxis
)

Builds a matrix with given Z and X axes.

Public function Static

TMatrix< T >

 

MakeFromZY

(
    TVector< T > const& ZAxis,
    TVector< T > const& YAxis
)

Builds a matrix with given Z and Y axes.