Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
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 |
UFUNCTION (BlueprintPure, Category="Math|Rotator",
Meta=(Keywords="construct build rotation rotate rotator makerotator"))
static FRotator MakeRotFromYX
(
const FVector & Y,
const FVector & X
)
Remarks
Builds a matrix with given Y and X axes. Y will remain fixed, X may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized.