Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLookAtMatrix
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TLookAtMatrix
(
const TLookAtMatrix< FArg >& From |
Conversion to other type. | Math/Matrix.h | |
TLookAtMatrix
(
const TVector< T >& EyePosition, |
Creates a view matrix given an eye position, a position to look at, and an up vector. | Math/Matrix.h |
TLookAtMatrix(const TLookAtMatrix< FArg > &)
Description
Conversion to other type.
| Name | TLookAtMatrix |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Matrix.h |
| Include Path | #include "Math/Matrix.h" |
template<typename FArg, std::enable_if_t<(!std::is_same_v< T, FArg >), int >>
TLookAtMatrix
(
const TLookAtMatrix < FArg > & From
)
TLookAtMatrix(const TVector< T > &, const TVector< T > &, const TVector< T > &)
Description
Creates a view matrix given an eye position, a position to look at, and an up vector. Equivalent of FLookFromMatrix(EyePosition, LookAtPosition - EyePosition, UpVector) The up vector need not be normalized. This does the same thing as D3DXMatrixLookAtLH.
| Name | TLookAtMatrix |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Matrix.h |
| Include Path | #include "Math/Matrix.h" |
| Source | /Engine/Source/Runtime/Core/Public/Math/Matrix.inl |
TLookAtMatrix
(
const TVector < T > & EyePosition,
const TVector < T > & LookAtPosition,
const TVector < T > & UpVector
)