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

PanelConfigOptions2Element

PanelConfigOptions2Element

abstract class PanelConfigOptions2Element<N : PanelConfigOptions2.Node> : PanelConfigOptions2

Constructors

NameSummary
PanelConfigOptions2Element
constructor()

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
create
abstract fun create(): N
Creates a new node of type PanelConfigOptions2.Node.
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
equals
abstract operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
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
get
open override fun <R : PanelConfigOptions2.Node> get(type: Class<R>): R?
Gets the node of type PanelConfigOptions2.Node from the given PanelConfigOptions2.
hashCode
abstract override fun hashCode(): Int
Returns a hash code value for this element.
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
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.
update
abstract fun update(node: N)
Updates the given PanelConfigOptions2.Node with the current state of this element.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon