Ejemplo n.º 1
0
 /// 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);
 }
Ejemplo n.º 2
0
 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;
         }
     }
 }
Ejemplo n.º 3
0
 internal static void DrawTetrahedra(bool shouldRecalculateTetrahedra, Vector3 cameraPosition)
 {
     LightProbeVisualization.INTERNAL_CALL_DrawTetrahedra(shouldRecalculateTetrahedra, ref cameraPosition);
 }
Ejemplo n.º 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);
 }