class MediaPanelSettings(val shape: MediaPanelShapeOptions, val display: MediaPanelDisplayOptions, val rendering: MediaPanelRenderOptions = MediaPanelRenderOptions(), val style: PanelStyleOptions = PanelStyleOptions(), val input: PanelInputOptions = PanelInputOptions()) : PanelSettings
MediaPanelSettings
(
shape
, display
, rendering
, style
, input
)
|
Signature
constructor(shape: MediaPanelShapeOptions, display: MediaPanelDisplayOptions, rendering: MediaPanelRenderOptions = MediaPanelRenderOptions(), style: PanelStyleOptions = PanelStyleOptions(), input: PanelInputOptions = PanelInputOptions()) Parameters shape: MediaPanelShapeOptions
Shape configuration for the media panel, controlling geometry (quad or cylinder) and dimensions via MediaPanelShapeOptions.
display: MediaPanelDisplayOptions
Display options governing resolution, pixel density, and content scaling for the media content rendered on this panel.
rendering: MediaPanelRenderOptions
Rendering options including layer mode and compositing settings that control how the media panel is drawn within the scene. Defaults to standard MediaPanelRenderOptions.
style: PanelStyleOptions
Visual styling options such as the Android theme resource ID applied to the panel's View hierarchy. Defaults to PanelStyleOptions().
input: PanelInputOptions
Input handling configuration controlling which controller buttons trigger click events on this panel. Defaults to PanelInputOptions().
Returns MediaPanelSettings |
display
: MediaPanelDisplayOptions
[Get] |
Display options governing resolution, pixel density, and content scaling for the media content rendered on this panel.
Signature
val display: MediaPanelDisplayOptions |
input
: PanelInputOptions
[Get] |
Input handling configuration controlling which controller buttons trigger click events on this panel. Defaults to PanelInputOptions().
Signature
val input: PanelInputOptions |
rendering
: MediaPanelRenderOptions
[Get] |
Rendering options including layer mode and compositing settings that control how the media panel is drawn within the scene. Defaults to standard MediaPanelRenderOptions.
Signature
val rendering: MediaPanelRenderOptions |
shape
: MediaPanelShapeOptions
[Get] |
Shape configuration for the media panel, controlling geometry (quad or cylinder) and dimensions via MediaPanelShapeOptions.
Signature
val shape: MediaPanelShapeOptions |
style
: PanelStyleOptions
[Get] |
Visual styling options such as the Android theme resource ID applied to the panel's View hierarchy. Defaults to PanelStyleOptions().
Signature
val style: PanelStyleOptions |
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
open override fun toPanelConfigOptions(): PanelConfigOptions Returns PanelConfigOptions
A fully configured PanelConfigOptions ready for the panel rendering system.
|