Back to Filament

face

docs/android/dokka/filament-android/com.google.android.filament/-render-target/-builder/face.md

1.75.0605 B
Original Source

//filament-android/com.google.android.filament/RenderTarget/Builder/face

face

[main]
open fun face(attachment: RenderTarget.AttachmentPoint, face: Texture.CubemapFace): RenderTarget.Builder

Sets the cubemap face for a given attachment point.

Return

A reference to this Builder for chaining calls.

Parameters

main

attachmentThe attachment point.
faceThe associated cubemap face.