API reference

PanelConfigOptions2

PanelConfigOptions2

interface PanelConfigOptions2
An ordered, immutable collection of Panel Option elements that decorate or add behavior to Meta Spatial Panels.

Types

NameSummary
Companion
object Companion : PanelConfigOptions2
abstract class Node

The longer-lived object that is created for each PanelConfigOptions2Element applied to a Meta Spatial Panel.

Functions

NameSummary
activity
fun PanelConfigOptions2.activity(): ActivityConfigOptions2?

fun PanelConfigOptions2.activity(panelIntent: <Error class: unknown class>): PanelConfigOptions2

fun PanelConfigOptions2.activity(activityClass: Class<*>): PanelConfigOptions2
all
open fun all(predicate: (PanelConfigOptions2Element<PanelConfigOptions2.Node>) -> Boolean): Boolean

Returns true if predicate returns true for all PanelConfigOptions2Elements in this PanelConfigOptions2 or if this PanelConfigOptions2 contains no Elements.
any
open fun any(predicate: (PanelConfigOptions2Element<PanelConfigOptions2.Node>) -> Boolean): Boolean

Returns true if predicate returns true for any PanelConfigOptions2Element in this PanelConfigOptions2.
composeView
fun PanelConfigOptions2.composeView(composeViewFun: <Error class: unknown class>.() -> Unit): PanelConfigOptions2
contentView
fun PanelConfigOptions2.contentView(): ContentViewConfigOptions2?

fun PanelConfigOptions2.contentView(viewCreator: (<Error class: unknown class>) -> <Error class: unknown class>): PanelConfigOptions2

fun PanelConfigOptions2.contentView(layoutResourceId: Int): PanelConfigOptions2
cylinder
fun PanelConfigOptions2.cylinder(): CylinderConfigOptions2?

fun PanelConfigOptions2.cylinder(options: CylinderConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.cylinder(radius: Float? = null, height: Float? = null, width: Float? = null, pivotOffsetHeight: Float? = null, pivotOffsetWidth: Float? = null): PanelConfigOptions2
equirect
fun PanelConfigOptions2.equirect(): EquirectConfigOptions2?

fun PanelConfigOptions2.equirect(options: EquirectConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.equirect(radius: Float? = null, horizontalAngle: Float? = null, upperVerticalAngle: Float? = null, lowerVerticalAngle: Float? = null, pivotOffsetHeight: Float? = null, pivotOffsetWidth: Float? = null): PanelConfigOptions2
geometry
fun PanelConfigOptions2.geometry(): GeometryConfigOptions2?
get
open fun <R : PanelConfigOptions2.Node> get(type: Class<R>): R?

Gets the node of type PanelConfigOptions2.Node from the given PanelConfigOptions2.
input
fun PanelConfigOptions2.input(): InputConfigOptions2?

fun PanelConfigOptions2.input(node: InputConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.input(clickButtons: Int? = null, grabButtons: Int? = null, scrollXLeftButtons: Int? = null, scrollXRightButtons: Int? = null, scrollYDownButtons: Int? = null, scrollYUpButtons: Int? = null, scrollXSpeed: Float? = null, scrollYSpeed: Float? = null): PanelConfigOptions2
layer
fun PanelConfigOptions2.layer(layerConfig: LayerConfig?): PanelConfigOptions2

fun PanelConfigOptions2.layer(alphaBlend: LayerAlphaBlend? = null, colorScaleBias: LayerColorScaleBias? = null, zIndex: Int? = null, secure: Boolean? = null, enabled: Boolean = true): PanelConfigOptions2
layerConfig
fun PanelConfigOptions2.layerConfig(): LayerConfig?
material
fun PanelConfigOptions2.material(): MaterialConfigOptions2?

fun PanelConfigOptions2.material(node: MaterialConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.material(alphaMode: AlphaMode? = null, panelShader: String? = null, unlit: Boolean? = true, stereoMode: StereoMode? = null, overrideTexture: SceneTexture? = null, initializer: SceneMaterial.() -> Unit? = null): PanelConfigOptions2
meshCreator
fun PanelConfigOptions2.meshCreator(): PanelConfigOptions2.(texture: SceneTexture) -> SceneMesh

fun PanelConfigOptions2.meshCreator(meshCreator: MeshCreatorConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.meshCreator(sceneMeshCreator: PanelConfigOptions2.(texture: SceneTexture) -> SceneMesh? = null): PanelConfigOptions2
onPanelCreation
fun PanelConfigOptions2.onPanelCreation(): PanelSceneObject.(ent: Entity) -> Unit?

fun PanelConfigOptions2.onPanelCreation(onPanelCreation: PanelSceneObject.(ent: Entity) -> Unit?): PanelConfigOptions2
quad
fun PanelConfigOptions2.quad(): QuadConfigOptions2?

fun PanelConfigOptions2.quad(options: QuadConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.quad(height: Float? = null, width: Float? = null, pivotOffsetHeight: Float? = null, pivotOffsetWidth: Float? = null): PanelConfigOptions2
render
fun PanelConfigOptions2.render(): RenderConfigOptions2?

fun PanelConfigOptions2.render(node: RenderConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.render(mips: Int? = null, samplerConfig: SamplerConfig? = null, forceSceneTexture: Boolean? = null, effectShader: String? = null): PanelConfigOptions2
resolution
fun PanelConfigOptions2.resolution(): ResolutionConfigOptions2?

fun PanelConfigOptions2.resolution(node: ResolutionConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.resolution(heightInPx: Int? = null, widthInPx: Int? = null, heightInDp: Float? = null, widthInDp: Float? = null, dpi: Int? = null, ratio: Float? = null, fractionOfScreen: Float? = null): PanelConfigOptions2
style
fun PanelConfigOptions2.style(): StyleConfigOptions2?

fun PanelConfigOptions2.style(node: StyleConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.style(themeResourceId: Int? = null, enableTransparent: Boolean? = null, includeGlass: Boolean? = null): PanelConfigOptions2
then
open infix fun then(other: PanelConfigOptions2): PanelConfigOptions2

Concatenates this modifier with another.

Companion

object Companion : PanelConfigOptions2

Properties

NameSummary
TAG
const val TAG: String

Functions

NameSummary
activity
fun PanelConfigOptions2.activity(): ActivityConfigOptions2?

fun PanelConfigOptions2.activity(panelIntent: <Error class: unknown class>): PanelConfigOptions2

fun PanelConfigOptions2.activity(activityClass: Class<*>): PanelConfigOptions2
all
open fun all(predicate: (PanelConfigOptions2Element<PanelConfigOptions2.Node>) -> Boolean): Boolean

Returns true if predicate returns true for all PanelConfigOptions2Elements in this PanelConfigOptions2 or if this PanelConfigOptions2 contains no Elements.
any
open fun any(predicate: (PanelConfigOptions2Element<PanelConfigOptions2.Node>) -> Boolean): Boolean

Returns true if predicate returns true for any PanelConfigOptions2Element in this PanelConfigOptions2.
composeView
fun PanelConfigOptions2.composeView(composeViewFun: <Error class: unknown class>.() -> Unit): PanelConfigOptions2
contentView
fun PanelConfigOptions2.contentView(): ContentViewConfigOptions2?

fun PanelConfigOptions2.contentView(viewCreator: (<Error class: unknown class>) -> <Error class: unknown class>): PanelConfigOptions2

fun PanelConfigOptions2.contentView(layoutResourceId: Int): PanelConfigOptions2
cylinder
fun PanelConfigOptions2.cylinder(): CylinderConfigOptions2?

fun PanelConfigOptions2.cylinder(options: CylinderConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.cylinder(radius: Float? = null, height: Float? = null, width: Float? = null, pivotOffsetHeight: Float? = null, pivotOffsetWidth: Float? = null): PanelConfigOptions2
equirect
fun PanelConfigOptions2.equirect(): EquirectConfigOptions2?

fun PanelConfigOptions2.equirect(options: EquirectConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.equirect(radius: Float? = null, horizontalAngle: Float? = null, upperVerticalAngle: Float? = null, lowerVerticalAngle: Float? = null, pivotOffsetHeight: Float? = null, pivotOffsetWidth: Float? = null): PanelConfigOptions2
geometry
fun PanelConfigOptions2.geometry(): GeometryConfigOptions2?
get
open fun <R : PanelConfigOptions2.Node> get(type: Class<R>): R?

Gets the node of type PanelConfigOptions2.Node from the given PanelConfigOptions2.
input
fun PanelConfigOptions2.input(): InputConfigOptions2?

fun PanelConfigOptions2.input(node: InputConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.input(clickButtons: Int? = null, grabButtons: Int? = null, scrollXLeftButtons: Int? = null, scrollXRightButtons: Int? = null, scrollYDownButtons: Int? = null, scrollYUpButtons: Int? = null, scrollXSpeed: Float? = null, scrollYSpeed: Float? = null): PanelConfigOptions2
layer
fun PanelConfigOptions2.layer(layerConfig: LayerConfig?): PanelConfigOptions2

fun PanelConfigOptions2.layer(alphaBlend: LayerAlphaBlend? = null, colorScaleBias: LayerColorScaleBias? = null, zIndex: Int? = null, secure: Boolean? = null, enabled: Boolean = true): PanelConfigOptions2
layerConfig
fun PanelConfigOptions2.layerConfig(): LayerConfig?
material
fun PanelConfigOptions2.material(): MaterialConfigOptions2?

fun PanelConfigOptions2.material(node: MaterialConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.material(alphaMode: AlphaMode? = null, panelShader: String? = null, unlit: Boolean? = true, stereoMode: StereoMode? = null, overrideTexture: SceneTexture? = null, initializer: SceneMaterial.() -> Unit? = null): PanelConfigOptions2
meshCreator
fun PanelConfigOptions2.meshCreator(): PanelConfigOptions2.(texture: SceneTexture) -> SceneMesh

fun PanelConfigOptions2.meshCreator(meshCreator: MeshCreatorConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.meshCreator(sceneMeshCreator: PanelConfigOptions2.(texture: SceneTexture) -> SceneMesh? = null): PanelConfigOptions2
onPanelCreation
fun PanelConfigOptions2.onPanelCreation(): PanelSceneObject.(ent: Entity) -> Unit?

fun PanelConfigOptions2.onPanelCreation(onPanelCreation: PanelSceneObject.(ent: Entity) -> Unit?): PanelConfigOptions2
quad
fun PanelConfigOptions2.quad(): QuadConfigOptions2?

fun PanelConfigOptions2.quad(options: QuadConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.quad(height: Float? = null, width: Float? = null, pivotOffsetHeight: Float? = null, pivotOffsetWidth: Float? = null): PanelConfigOptions2
render
fun PanelConfigOptions2.render(): RenderConfigOptions2?

fun PanelConfigOptions2.render(node: RenderConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.render(mips: Int? = null, samplerConfig: SamplerConfig? = null, forceSceneTexture: Boolean? = null, effectShader: String? = null): PanelConfigOptions2
resolution
fun PanelConfigOptions2.resolution(): ResolutionConfigOptions2?

fun PanelConfigOptions2.resolution(node: ResolutionConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.resolution(heightInPx: Int? = null, widthInPx: Int? = null, heightInDp: Float? = null, widthInDp: Float? = null, dpi: Int? = null, ratio: Float? = null, fractionOfScreen: Float? = null): PanelConfigOptions2
style
fun PanelConfigOptions2.style(): StyleConfigOptions2?

fun PanelConfigOptions2.style(node: StyleConfigOptions2): PanelConfigOptions2

fun PanelConfigOptions2.style(themeResourceId: Int? = null, enableTransparent: Boolean? = null, includeGlass: Boolean? = null): PanelConfigOptions2
then
open infix fun then(other: PanelConfigOptions2): PanelConfigOptions2

Concatenates this modifier with another.



infix fun then(other: PanelConfigOptions2Element<PanelConfigOptions2.Node>): PanelConfigOptions2
toString
open override fun toString(): String