ToMatrix

[FMatrix](API\Runtime\Core\Math\FMatrix) Support.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/TransformCalculus3D.h"

Syntax

template<typename TransformType>
auto ToMatrix
(
    const TransformType & Transform
)

Remarks

Converts a generic transform to a matrix using a ToMatrix() member function. Uses decltype to allow some classes to return const-ref types for efficiency.

Returns

the FMatrix stored by the Transform.

Parameters

Parameter

Description

Transform

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss