コード例 #1
0
        public static void HandleRendererRemoved(PointCloudRenderer renderer)
        {
            if (activeInstance == null || activeInstance.renderers == null)
            {
                return;
            }

            activeInstance.RefreshRenderers();
        }
コード例 #2
0
        public static void HandleRendererAdded(PointCloudRenderer renderer)
        {
            if (activeInstance == null || activeInstance.renderers == null)
            {
                return;
            }

            foreach (var pcr in activeInstance.renderers)
            {
                if (pcr == renderer)
                {
                    return;
                }
            }

            activeInstance.RefreshRenderers();
        }