Back to Filament

setBlendMode

docs/android/dokka/filament-android/com.google.android.filament/-view/set-blend-mode.md

1.75.0551 B
Original Source

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

setBlendMode

[main]
open fun setBlendMode(blendMode: View.BlendMode)

Sets the blending mode used to draw the view into the SwapChain.

Parameters

main

blendModeeither OPAQUE or TRANSLUCENT

See also

getBlendMode