Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
Deprecated * This method has been deprecated and will be removed. Use the double version instead.
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 |
static float Conv_BoolToFloat
&40;
bool InBool
&41;
Remarks
Converts a bool to a float (0.0f or 1.0f)