TLookAtMatrix

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TMatrix

TLookFromMatrix

TLookAtMatrix

References

Module

Core

Header

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

Include

#include "Math/Matrix.h"

Syntax

template<typename T>
struct TLookAtMatrix : public UE::Math::TLookFromMatrix< T >

Constructors

Name Description

Public function

TLookAtMatrix

(
    const TVector< T >& EyePosition,
    const TVector< T >& LookAtPosition,
    const TVector< T >& UpVector
)

Creates a view matrix given an eye position, a position to look at, and an up vector.