Back to Filament

getLastDynamicResolutionScale

docs/android/dokka/filament-android/com.google.android.filament/-view/get-last-dynamic-resolution-scale.md

1.75.01.1 KB
Original Source

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

getLastDynamicResolutionScale

[main]
open fun getLastDynamicResolutionScale(out: Array<Float>): Array<Float>

Returns the last dynamic resolution scale factor used by this view. This value is updated when Renderer::render(View*) is called

Return

A 2-float array containing the horizontal and the vertical scale factors

Parameters

main

outA 2-float array where the value will be stored, or null in which case the array is allocated.

See also

Renderer