Skip to content

XR Light Estimate

Updated

Lights the scene like the real room.

Type
comp-xr-light-estimate
Script class
XRLightEstimateComponent
Per entity
One
Version
1.0.0

Read about it in XR world: what it does, how to use it from a script, and examples.

Run it in the browser, read its scripts, and download it as an XR Creator project.

#pragma lifecycle(startup)
function startup() {
const component = self.parent.getComponent(XRLightEstimateComponent);
if (component) log(component.props);
}