DisplayBlendMode


class DisplayBlendMode


A device capability that determines how virtual content is added to the real world.

Summary

Public companion properties

DisplayBlendMode

Blends virtual content with the real world by adding pixel values for RGB components.

DisplayBlendMode

Alpha-blends pixel values to blend virtual content with the real world.

DisplayBlendMode

Blending is not supported.

Public functions

open String

Returns a string representation of DisplayBlendMode for debugging.

Public companion properties

ADDITIVE

val ADDITIVEDisplayBlendMode

Blends virtual content with the real world by adding pixel values for RGB components. Alpha is ignored. Black pixels will appear transparent.

ALPHA_BLEND

val ALPHA_BLENDDisplayBlendMode

Alpha-blends pixel values to blend virtual content with the real world.

NO_DISPLAY

val NO_DISPLAYDisplayBlendMode

Blending is not supported.

Public functions

toString

open fun toString(): String

Returns a string representation of DisplayBlendMode for debugging.

Note: Not intended for production use.