Interface IProvidesLightEstimation
Defines the API for a Light Estimation Provider This functionality provider is responsible for light estimation
Inherited Members
IFunctionalityProvider.LoadProvider()
IFunctionalityProvider.UnloadProvider()
Namespace: Unity.MARS.Providers
Assembly: Unity.MARS.Interfaces.dll
Syntax
[MovedFrom("Unity.MARS")]
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 |
---|---|
bool |
Events
lightEstimationUpdated
Called when the light estimation changes
Declaration
event Action<MRLightEstimation> lightEstimationUpdated
Event Type
Type | Description |
---|---|
Action<MRLightEstimation> |