Back to Filament

getFace

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

1.75.0558 B
Original Source

//filament-android/com.google.android.filament/RenderTarget/getFace

getFace

[main]
open fun getFace(attachment: RenderTarget.AttachmentPoint): Texture.CubemapFace

Returns the face of a cubemap set on the given attachment point.

Return

A cubemap face identifier. This is only relevant if the attachment's texture is a cubemap.

Parameters

main

attachmentAttachment point