Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
Description
Get a copy of the vector as sign only. Each component is set to +1 or -1, with the sign of zero treated as +1.
| Name | Vector_GetSignVector |
| 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=(ScriptMethod="GetSignVector"), Category="Math|Vector")
static UE_FVector Vector_GetSignVector
(
FVector A
)
Parameters
| Name | Remarks |
|---|---|
| A | copy of the vector with each component set to +1 or -1 |