Back to Filament

getEffectiveGridSize

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

1.75.0558 B
Original Source

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

getEffectiveGridSize

[main]
open fun getEffectiveGridSize(): Double

Returns the effective grid size used for grid-based world origin snapping. If grid size was set to 0 or negative, this returns the automatically calculated size.

Return

The effective grid size in world units.