Table of Contents

Class XRLayerEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The XRLayerEvent interface of the WebXR Device API is the event type for events related to a change of state of an XRLayer object. These events occur, for example, when the layer needs to be redrawn.
[Value("XRLayerEvent")]
public class XRLayerEvent : Event
Inheritance
XRLayerEvent
Inherited Members

Remarks

Constructors

XRLayerEvent()

public XRLayerEvent()

XRLayerEvent(string, XRLayerEventInit)

NOTE
Experimental
The XRLayerEvent constructor creates and returns a new XRLayerEvent object. These events relate to a change of state of an XRLayer object.
public XRLayerEvent(string type, XRLayerEventInit eventInitDict)

Parameters

type string
eventInitDict XRLayerEventInit

Remarks

Properties

Layer

NOTE
Experimental
The layer property of the XRLayerEvent interface is a reference to the XRLayer which generated the event.
[Value("layer")]
public XRLayer Layer { get; }

Property Value

XRLayer

An XRLayer.

Remarks