|
|
|
|
|
|
else |
|
|
|
{ |
|
|
|
arrow?.gameObject.SetActive(false); |
|
|
|
mainLightDirection = null; |
|
|
|
} |
|
|
|
|
|
|
|
if (args.lightEstimation.mainLightColor.HasValue) |
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
mainLightColor = null; |
|
|
|
} |
|
|
|
|
|
|
|
if (args.lightEstimation.mainLightIntensityLumens.HasValue) |
|
|
|
{ |
|
|
|
|
|
|
else |
|
|
|
{ |
|
|
|
mainLightIntensityLumens = null; |
|
|
|
} |
|
|
|
|
|
|
|
if (args.lightEstimation.ambientSphericalHarmonics.HasValue) |
|
|
|
{ |
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
sphericalHarmonics = null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|