Layer

Hierarchy

  • Layer

Index

Constructors

constructor

Properties

alphaBlendingMode

alphaBlendingMode: number

alphaTest

alphaTest: boolean

color

color: Color4

isBackground

isBackground: boolean

layerMask

layerMask: number

name

name: string

offset

offset: Vector2

onAfterRender

onAfterRender: function

Type declaration

    • (): void
    • Returns void

onAfterRenderObservable

onAfterRenderObservable: Observable<Layer>

An event triggered after rendering the scene

onBeforeRender

onBeforeRender: function

Type declaration

    • (): void
    • Returns void

onBeforeRenderObservable

onBeforeRenderObservable: Observable<Layer>

An event triggered before rendering the scene

onDispose

onDispose: function

Type declaration

    • (): void
    • Returns void

onDisposeObservable

onDisposeObservable: Observable<Layer>

An event triggered when the layer is disposed.

scale

scale: Vector2

texture

texture: Nullable<Texture>

Methods

dispose

  • dispose(): void
  • Returns void

Generated using TypeDoc