Navigation
BlueprintAPI > BlueprintAPI/Math > BlueprintAPI/Math/Float
Snaps a value to the nearest grid multiple. E.g., Location = 5.1, GridSize = 10.0 : return value = 10.0 If GridSize is 0 Location is returned if GridSize is very small precision issues may occur.
Target is Kismet Math Library
Inputs
| Type | Name | Description |
|---|---|---|
| real | Location | |
| real | Grid Size |
Outputs
| Type | Name | Description |
|---|---|---|
| real | Return Value |