Emitter
public protocol Emitter : AnyObjectAn object that can calculate and draw ray intersections.
- 
                  
                  Visual style for the emitter’s rays DeclarationSwift var style: RayTraceStyle { get set }
- 
                  
                  Process the ray casting operations for this emitter. This method calculates the paths of the emitter’s rays, but does not draw them. Any previous rays will be overwritten. DeclarationSwift func run(objects: [RayTracable])ParametersobjectsThe objects with which the rays will interact 
- 
                  
                  Draw the paths taken by the emitter’s rays. This method does not perform any ray tracing. DeclarationSwift func draw()
- 
                  draw(objects:Extension method) Process the ray casting operations for this emitter and draw th paths. DeclarationSwift public func draw(objects: [RayTracable])ParametersobjectsThe objects with which the rays will interact 
 View on GitHub
View on GitHub Emitter Protocol Reference
        Emitter Protocol Reference