Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Warnings * rotation part will need to be unit length for this to be right!
Description
Transform a rotation matrix into a quaternion. (Assumes Matrix represents a transform)
rotation part will need to be unit length for this to be right!
| Name | Matrix_ToQuat |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure, Meta=(DisplayName="To Quat (Matrix)", ScriptMethod="ToQuat"),
Category="Math|Matrix")
static UE_FQuat Matrix_ToQuat
(
const FMatrix & M
)