API reference
API reference
Select your platform
No SDKs available
No versions available

LayerConfig Class

Modifiers: open
Configuration options for rendering layers. Setting this in PanelConfig will enable Layers.
Layers are used to render Panels with higher fidelity. More information can be found here.

Signature

open class LayerConfig(var alphaBlend: LayerAlphaBlend? = null, var colorScaleBias: LayerColorScaleBias? = null, var zIndex: Int = 0, var secure: Boolean = false, var filters: Int = 0)

Constructors

LayerConfig ( alphaBlend , colorScaleBias , zIndex , secure , filters )
Signature
constructor(alphaBlend: LayerAlphaBlend? = null, colorScaleBias: LayerColorScaleBias? = null, zIndex: Int = 0, secure: Boolean = false, filters: Int = 0)
Parameters
alphaBlend: LayerAlphaBlend?
  Configuration for alpha blending, or null to use default blending
colorScaleBias: LayerColorScaleBias?
  Color adjustment settings, or null to use default colors
zIndex: Int
  Integer value controlling the rendering order (higher values render on top). Layers of the same z-index are rendered based on the distance of entity origin from head pose.
secure: Boolean
  Whether the layer should be rendered securely to enable DRM.
filters: Int

Properties

alphaBlend : LayerAlphaBlend?
[Get][Set]
Configuration for alpha blending, or null to use default blending
Signature
var alphaBlend: LayerAlphaBlend?
colorScaleBias : LayerColorScaleBias?
[Get][Set]
Color adjustment settings, or null to use default colors
Signature
var colorScaleBias: LayerColorScaleBias?
filters : Int
[Get][Set]
Signature
var filters: Int
secure : Boolean
[Get][Set]
Whether the layer should be rendered securely to enable DRM.
Signature
var secure: Boolean
zIndex : Int
[Get][Set]
Integer value controlling the rendering order (higher values render on top). Layers of the same z-index are rendered based on the distance of entity origin from head pose.
Signature
var zIndex: Int
Did you find this page helpful?