Class XRLightProbe
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalXRLightProbe 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.
Constructors
XRLightProbe()
public XRLightProbe()
Properties
Onreflectionchange
[Value("onreflectionchange")]
public EventHandlerNonNull Onreflectionchange { get; set; }
Property Value
ProbeSpace
NOTE
ExperimentalprobeSpace 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; }