UnityEditor.LightmapVisualization.DrawTetrahedra C# (CSharp) Méthode

DrawTetrahedra() static private méthode

static private DrawTetrahedra ( bool shouldRecalculateTetrahedra, Vector3 cameraPosition ) : void
shouldRecalculateTetrahedra bool
cameraPosition Vector3
Résultat void
        internal static void DrawTetrahedra(bool shouldRecalculateTetrahedra, Vector3 cameraPosition)
        {
            INTERNAL_CALL_DrawTetrahedra(shouldRecalculateTetrahedra, ref cameraPosition);
        }

Usage Example

 private void DrawTetrahedra()
 {
     if ((Event.current.type == EventType.Repaint) && (SceneView.lastActiveSceneView != null))
     {
         LightmapVisualization.DrawTetrahedra(this.m_ShouldRecalculateTetrahedra, SceneView.lastActiveSceneView.camera.transform.position);
         this.m_ShouldRecalculateTetrahedra = false;
     }
 }
All Usage Examples Of UnityEditor.LightmapVisualization::DrawTetrahedra