Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/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/Private/KismetMathLibrary.cpp |
static void GetSlopeDegreeAngles
&40;
const FVector & MyRightYAxis,
const FVector & FloorNormal,
const FVector & UpVector,
float & OutSlopePitchDegreeAngle,
float & OutSlopeRollDegreeAngle
&41;
Remarks
Returns Slope Pitch and Roll angles in degrees based on the following information:
Parameters
| Name | Description |
|---|---|
| MyRightYAxis | Right (Y) direction unit vector of Actor standing on Slope. |
| FloorNormal | Floor Normal (unit) vector. |
| UpVector | UpVector of reference frame. OutSlopePitchDegreeAngle Slope Pitch angle (degrees) OutSlopeRollDegreeAngle Slope Roll angle (degrees) |