UKismetMathLibrary::Matrix_GetUnitAxis

Get unit length axis of this matrix (Assumes Matrix represents a transform)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl

Syntax

static FVector Matrix_GetUnitAxis
(
    const FMatrix & M,
    TEnumAsByte< EAxis::Type > Axis
)

Remarks

Get unit length axis of this matrix (Assumes Matrix represents a transform)

Returns

vector of the axis

Parameters

Parameter

Description

i

index into the axis of the matrix

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