SchemeDT:Light
From DocR21
Action
A light is an entity used for rendering that represents a source of illumination cast on the model.
Light types are ambient, distant, eye, point, or spot. Lights can cast shadows if shadow maps are generated. light objects are saved and restored as part of the model.
Derivation
light : integer : scheme-object
C++
External Rep
#[entity %d %d]
where the first integer is the entity ID, and the second integer is the part ID.
Example
; light (data type) ; Create an inquire a light object. (define my_light (light "ambient")) ;; my_light (light? my_light) ;; #t
