示例#1
0
        public void Update()
        {
            // Convert ARKit intensity to Unity intensity
            // ARKit ambient intensity ranges 0-2000
            // Unity ambient intensity ranges 0-8 (for over-bright lights)
            float newai = m_Session.GetARAmbientIntensity();

            l.intensity = newai / 1000.0f;
        }