public class LightSourceMarker extends AbstractCompositeShape
A visual marker that indicates a light source position in the 3D scene.

Rendered as a glowing point that provides a clear, lightweight visual indicator useful for debugging light placement in the scene.

Usage example:


 // Place a yellow light source marker at position (100, -50, 200)
 LightSourceMarker marker = new LightSourceMarker(
     new Point3D(100, -50, 200),
     Color.YELLOW
 );
 shapeCollection.addShape(marker);
 
See Also:
  • Constructor Details

    • LightSourceMarker

      public LightSourceMarker(Point3D location, Color color)
      Creates a new light source marker at the specified location.
      Parameters:
      location - the 3D position of the marker in the scene
      color - the color of the glowing point