// If sphere point group is selected, we render dots in the skybox to help user position things. private void RenderSpherePointGroupDebugPointsIfSelected() { if (m_ActiveSkyProfile == null || TimelineSelection.selectedGroupUUID == null) { return; } IKeyframeGroup group = m_ActiveSkyProfile.GetGroupWithId(TimelineSelection.selectedGroupUUID); if (group is SpherePointKeyframeGroup) { ShowSpherePointKeyframesInSkybox(group as SpherePointKeyframeGroup); } else { HideDebugPoints(); } }