PMatrix< float, 3, 3 >

TODO(mlentine): Do not use 4x4 matrix for 3x3 implementation.

Windows
MacOS
Linux

Inheritance Hierarchy

FMatrix

PMatrix< float, 3, 3 >

References

Module

ChaosCore

Header

/Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/Matrix.h

Include

#include "Chaos/Matrix.h"

Syntax

template<>
class PMatrix< float, 3, 3 > : public FMatrix

Remarks

TODO(mlentine): Do not use 4x4 matrix for 3x3 implementation.

Functions

Name Description

Public function Const

bool

 

Equals

(
    const PMatrix< float, 3, 3 >& Othe...,
    float Tolerance
)

Public function Static

PMatrix< flo...

 

FromDiagonal

(
    const TVector< float, 3 >& D
)

Return a diagonal matrix with the specified elements

Public function Const

TVector< flo...

 

GetAxis

(
    int32 AxisIndex
)

Get the specified axis (0-indexed, X,Y,Z).

Public function Const

TVector< flo...

 

GetColumn

(
    int32 ColumnIndex
)

Get the specified column (0-indexed, X,Y,Z).

Public function Const

TVector< flo...

 

GetDiagonal()

Get the diagonal elements as a vector.

Public function Const

TVector< flo...

 

GetRow

(
    int32 RowIndex
)

Get the specified row (0-indexed, X,Y,Z).

Public function Const

TVector< flo...

 

LargestColumnNormalized()

Public function

 

PMatrix

(
    const float x
)

Public function

 

PMatrix

(
    const FMatrix& Other
)

Public function

 

PMatrix

(
    FMatrix&& Other
)

Public function

 

PMatrix

(
    const TVector< float, 3 >& C1,
    const TVector< float, 3 >& C2,
    const TVector< float, 3 >& C3
)

Public function

 

PMatrix

(
    const float x00,
    const float x11,
    const float x22
)

Public function

 

PMatrix

(
    const float x00,
    const float x10,
    const float x20,
    const float x01,
    const float x11,
    const float x21,
    const float x02,
    const float x12,
    const float x22
)

Public function

 

PMatrix

(
    const float x00,
    const float x10,
    const float x20,
    const float x11,
    const float x21,
    const float x22
)

Public function

 

PMatrix()

Public function

void

 

SetAxis

(
    int32 AxisIndex,
    const TVector< float, 3 >& Axis
)

Set the specified axis (0-indexed, X,Y,Z).

Public function

void

 

SetColumn

(
    int32 ColumnIndex,
    const TVector< float, 3 >& V
)

Set the specified column.

Public function

void

 

SetRow

(
    int32 RowIndex,
    const TVector< float, 3 >& V
)

Set the specified row.

Public function Const

PMatrix< flo...

 

SubtractDiagonal

(
    const float Scalar
)

Public function Const

PMatrix< flo...

 

SymmetricCofactorMatrix()

Operators

Name Description

Public function Const

PMatrix< flo...

 

operator-

(
    const PMatrix< float, 3, 3 >& Othe...
)

Public function Const

PMatrix< flo...

 

operator*

(
    const PMatrix< float, 3, 3 >& Othe...
)

Public function Const

TVector< flo...

 

operator*

(
    const TVector< float, 3 >& Other
)

TDOD(mlentine): This should really be a vector multiply and sum for each entry using sse.

Public function Const

PMatrix< flo...

 

operator*

(
    const PMatrix< float, 3, 2 >& Othe...
)

Public function Const

PMatrix< flo...

 

operator*

(
    const float Other
)

Public function Const

PMatrix< flo...

 

operator+

(
    const PMatrix< float, 3, 3 >& Othe...
)

Constants

Name

Description

Identity

Zero

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