Back to Filament

priority

docs/android/dokka/filament-android/com.google.android.filament/-skybox/-builder/priority.md

1.75.0839 B
Original Source

//filament-android/com.google.android.filament/Skybox/Builder/priority

priority

[main]
open fun priority(priority: Int): Skybox.Builder

Set the rendering priority of the Skybox. By default, it is set to the lowest priority (7) such that the Skybox is always rendered after the opaque objects, to reduce overdraw when depth culling is enabled.

Return

Builder reference for chaining calls.

Parameters

main

priorityclamped to the range [0..7], defaults to 4; 7 is lowest priority (rendered last).

See also

RenderableManager.Builder