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

CylinderLayerConfig

CylinderLayerConfig

class ~~CylinderLayerConfig~~(var radius: Float, var alphaBlend: LayerAlphaBlend? = null, var colorScaleBias: LayerColorScaleBias? = null, var zIndex: Int = 0) : LayerConfig---

Deprecated

Use PanelConfigOptions.panelShapeType instead

Layer config for a single-sided, cylindrical surface

Constructors

NameSummary
CylinderLayerConfig
constructor(radius: Float, alphaBlend: LayerAlphaBlend? = null, colorScaleBias: LayerColorScaleBias? = null, zIndex: Int = 0)

Properties

NameSummary
alphaBlend
var alphaBlend: LayerAlphaBlend?

Configuration for alpha blending, or null to use default blending
colorScaleBias
var colorScaleBias: LayerColorScaleBias?

Color adjustment settings, or null to use default colors
filters
var filters: Int
radius
var radius: Float
secure
var secure: Boolean

Whether the layer should be rendered securely to enable DRM.
var 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.

Functions

NameSummary
getAspectRatio
fun getAspectRatio(config: PanelShapeConfig): Float
getCentralAngle
fun getCentralAngle(config: PanelShapeConfig): Float
Did you find this page helpful?
Thumbs up icon
Thumbs down icon