Interface IProvidesLightEstimation
Defines the API for a Light Estimation Provider This functionality provider is responsible for light estimation
Inherited Members
Namespace: Unity.MARS
Syntax
public interface IProvidesLightEstimation : IFunctionalityProvider
Methods
TryGetLightEstimation(out MRLightEstimation)
Try to get the light estimation data
Declaration
bool TryGetLightEstimation(out MRLightEstimation lightEstimation)
Parameters
Type | Name | Description |
---|---|---|
MRLightEstimation | lightEstimation | The light estimation data |
Returns
Type | Description |
---|---|
Boolean |
Events
lightEstimationUpdated
Called when the light estimation changes
Declaration
event Action<MRLightEstimation> lightEstimationUpdated
Event Type
Type | Description |
---|---|
Action<MRLightEstimation> |