Пример #1
0
        private void BeforeConfigurationChanged(ARCoreBeforeSetConfigurationEventArgs eventArgs)
        {
            if (_cachedConfig == null)
            {
                return;
            }

            if (eventArgs.session != IntPtr.Zero && eventArgs.config != IntPtr.Zero)
            {
                SessionApi.UpdateSessionConfig(eventArgs.session, eventArgs.config, _cachedConfig);
            }
        }