Class SimulatedLightEstimationProvider
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Providers.Synthetic
Assembly: Unity.MARS.dll
Syntax
[ProviderSelectionOptions(-1073741824, null, false)]
[MovedFrom("Unity.MARS.Providers")]
public class SimulatedLightEstimationProvider : MonoBehaviour, IProvidesLightEstimation, IFunctionalityProvider
Methods
RegisterSynthesizedLightEstimation(SynthesizedLightEstimation)
Declaration
public void RegisterSynthesizedLightEstimation(SynthesizedLightEstimation synthLightEstimation)
Parameters
Type | Name | Description |
---|---|---|
SynthesizedLightEstimation | synthLightEstimation |
TryGetLightEstimation(out MRLightEstimation)
Try to get the light estimation data
Declaration
public bool TryGetLightEstimation(out MRLightEstimation lightEstimation)
Parameters
Type | Name | Description |
---|---|---|
MRLightEstimation | lightEstimation | The light estimation data |
Returns
Type | Description |
---|---|
bool |
UnregisterSythensizedLightEstimation(SynthesizedLightEstimation)
Declaration
public void UnregisterSythensizedLightEstimation(SynthesizedLightEstimation synthLightEstimation)
Parameters
Type | Name | Description |
---|---|---|
SynthesizedLightEstimation | synthLightEstimation |
Events
lightEstimationUpdated
Called when the light estimation changes
Declaration
public event Action<MRLightEstimation> lightEstimationUpdated
Event Type
Type | Description |
---|---|
Action<MRLightEstimation> |
Implements
Unity.XRTools.ModuleLoader.IFunctionalityProvider