Class XRLayerEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalXRLayerEvent 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
ExperimentalXRLayerEvent 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
typestringeventInitDictXRLayerEventInit
Remarks
Properties
Layer
NOTE
Experimentallayer property of the XRLayerEvent interface is a reference to the XRLayer which generated the event.
[Value("layer")]
public XRLayer Layer { get; }