/// Draw the points in points array. All selected points will be drawn blue, for unselected,
 /// points.GetColor will be called to get the color of each point
 public static void Draw(IEditablePoint points, Transform cloudTransform, List <int> selection, bool twoPassDrawing)
 {
     LightProbeVisualization.DrawPointCloud(
         points.GetUnselectedPositions(),
         points.GetSelectedPositions(),
         points.GetDefaultColor(),
         points.GetSelectedColor(),
         points.GetPointScale(),
         cloudTransform);
 }
 private void DrawTetrahedra()
 {
     if (Event.current.type == EventType.Repaint)
     {
         if (SceneView.lastActiveSceneView)
         {
             LightProbeVisualization.DrawTetrahedra(this.m_ShouldRecalculateTetrahedra, SceneView.lastActiveSceneView.camera.transform.position);
             this.m_ShouldRecalculateTetrahedra = false;
         }
     }
 }
Exemple #3
0
 internal static void DrawTetrahedra(bool shouldRecalculateTetrahedra, Vector3 cameraPosition)
 {
     LightProbeVisualization.INTERNAL_CALL_DrawTetrahedra(shouldRecalculateTetrahedra, ref cameraPosition);
 }
Exemple #4
0
 internal static void DrawPointCloud(Vector3[] unselectedPositions, Vector3[] selectedPositions, Color baseColor, Color selectedColor, float scale, Transform cloudTransform)
 {
     LightProbeVisualization.INTERNAL_CALL_DrawPointCloud(unselectedPositions, selectedPositions, ref baseColor, ref selectedColor, scale, cloudTransform);
 }