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

SceneLayer

SceneLayer

abstract class SceneLayer(scene_: Scene, id_: Int)
Base class for creating a Layer in the Scene.

Constructors

NameSummary
SceneLayer
constructor(scene_: Scene, id_: Int)

Functions

NameSummary
destroy
fun destroy()
setAlphaBlend
fun setAlphaBlend(layerAlphaBlend: LayerAlphaBlend)

Sets the alpha blending mode for this layer.
setClip
fun setClip(minUV: Vector2, maxUV: Vector2, minRightUV: Vector2 = minUV, maxRightUV: Vector2 = maxUV)

Sets the UV clip region for this layer’s swapchain texture.
setColorScaleBias
fun setColorScaleBias(scale: Vector4, bias: Vector4)

Sets the color scale and bias for this layer.
setFilters
fun setFilters(filters: Int)
setScale
fun setScale(scale: Vector3)

Sets the scale of this layer.
setSecure
fun setSecure(secure: Boolean)

Sets whether this layer should be secure.
fun setZIndex(zIndex: Int)

Sets the Z-index of this layer, controlling its rendering order.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon