API reference

PanelSettings Interface

Interface defining the contract for panel configuration in the Spatial SDK. Implementations (UIPanelSettings, MediaPanelSettings) combine shape, display, rendering, style, and input options into a cohesive configuration that is converted to PanelConfigOptions via toPanelConfigOptions().

Signature

interface PanelSettings

Methods

toPanelConfigOptions ()
Converts these high-level panel settings into a low-level PanelConfigOptions object consumed by the panel rendering system. Applies rendering, shape, display, style, and input modifiers in the correct order.
Signature
abstract fun toPanelConfigOptions(): PanelConfigOptions
Returns
PanelConfigOptions  A fully configured PanelConfigOptions ready for the panel rendering system.