Raytracer:getCapacity
EditReturns the capacity of the Raytracer, or the number of objects it can hold. The capacity is declared when the raytracer is created, and can not be changed afterwards.
capacity = Raytracer:getCapacity()Arguments
None
Returns
| Name | Type | Description |
| capacity | number | The capacity of the raytracer. |
Notes
Raytracer:add returns nil if the Raytracer is full.