Table of Contents

Class XRLightProbe

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The XRLightProbe interface of the WebXR Device API contains lighting information at a given point in the user's environment. You can get an XRLighting object using the RequestLightProbe(XRLightProbeInit) method.
[Value("XRLightProbe")]
public class XRLightProbe : EventTarget
Inheritance
XRLightProbe
Inherited Members

Remarks

This object doesn't itself contain lighting values, but it is used to collect lighting states for each XRFrame. See XRLightEstimate for the estimated lighting values for an XRLightProbe.

-RequestLightProbe(XRLightProbeInit)

See also on MDN

Constructors

XRLightProbe()

public XRLightProbe()

Properties

Onreflectionchange

[Value("onreflectionchange")]
public EventHandlerNonNull Onreflectionchange { get; set; }

Property Value

EventHandlerNonNull

ProbeSpace

NOTE
Experimental
The read-only probeSpace property of the XRLightProbe interface returns an XRSpace tracking the position and orientation that the lighting estimations are relative to.
[Value("probeSpace")]
public XRSpace ProbeSpace { get; }

Property Value

XRSpace

An XRSpace object.

Remarks