Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMath
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 FloorToInt32
(
float F |
Converts a float to a nearest less or equal integer. | GenericPlatform/GenericPlatformMath.h | |
static int32 FloorToInt32
(
double F |
GenericPlatform/GenericPlatformMath.h |
FloorToInt32(float)
Description
Converts a float to a nearest less or equal integer.
| Name | FloorToInt32 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static int32 FloorToInt32
(
float F
)
An integer less or equal to 'F'.
Parameters
| Name | Remarks |
|---|---|
| F | Floating point value to convert |
FloorToInt32(double)
| Name | FloorToInt32 |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h |
| Include Path | #include "GenericPlatform/GenericPlatformMath.h" |
static int32 FloorToInt32
(
double F
)