Protocols
The following protocols are available globally.
-
Declaration
Swift
public protocol RayTracable : Intersectable
-
Declaration
Swift
public protocol Polygon : Intersectable
-
The base protocol for any shape that is drawable on screen
See moreDeclaration
Swift
public protocol Shape
-
Allows a sketch to modify SketchView behavior
See moreDeclaration
Swift
public protocol SketchViewDelegate : AnyObject
-
An object which can draw shapes to a
See moreDrawingContext
Declaration
Swift
public protocol Sketch
-
A 2D drawing environment
Declaration
Swift
public protocol DrawingContext
-
An object that can calculate and draw ray intersections.
See moreDeclaration
Swift
public protocol Emitter : AnyObject