Class XRCompositionLayer Abstract
Hierarchy
Implements
Implemented by
Index
Constructors
constructor
Returns XRCompositionLayer
Properties
blend Texture Source AlphaSearch playground for blendTextureSourceAlpha
Optional chromatic Aberration CorrectionSearch playground for chromaticAberrationCorrection
Readonly layoutSearch playground for layout
Readonly mip LevelsSearch playground for mipLevels
Readonly needs RedrawSearch playground for needsRedraw
spaceSearch playground for space
Methods
add Event ListenerSearch playground for addEventListener
Type Parameters
K extends "redraw"
Parameters
this: XRCompositionLayer
type: K
callback: ((evt: XRCompositionLayerEventMap[K]) => any)
Parameters
evt: XRCompositionLayerEventMap[K]
Returns any
Optional options: boolean | AddEventListenerOptions
Returns void
Parameters
type: string
listener: EventListenerOrEventListenerObject
Optional options: boolean | AddEventListenerOptions
Returns void
destroySearch playground for destroy
Returns void
onredrawSearch playground for onredraw
Parameters
evt: XRLayerEvent
Returns any
remove Event ListenerSearch playground for removeEventListener
Type Parameters
K extends "redraw"
Parameters
this: XRCompositionLayer
type: K
callback: ((evt: XRCompositionLayerEventMap[K]) => any)
Parameters
evt: XRCompositionLayerEventMap[K]
Returns any
Returns void
Parameters
type: string
listener: EventListenerOrEventListenerObject
Optional options: boolean | EventListenerOptions
Returns void