Back to Filament

getGridSize

docs/android/dokka/filament-android/com.google.android.filament/-view/get-grid-size.md

1.75.0469 B
Original Source

//filament-android/com.google.android.filament/View/getGridSize

getGridSize

[main]
open fun getGridSize(): Double

Returns the grid size used for grid-based world origin snapping.

Return

The grid size in world units. A value of 0 or negative means automatic calculation is enabled.