public static void HandleRendererRemoved(PointCloudRenderer renderer) { if (activeInstance == null || activeInstance.renderers == null) { return; } activeInstance.RefreshRenderers(); }
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(); }