Class Light

Base class for lights.

Inherits from

Constructors

Name Description
this

Fields

Name Type Description
castShadows bool If it should cast shadows
color gl3n.linalg.Vector!(float,3) The color the light gives off.
owner GameObject The GameObject that owns this component.
yaml dyaml.node.Node The node that defined the component.

Methods

Name Description
shutdown Called on shutdown.
update Called on the update cycle.
draw Called on the draw cycle.
initialize The function called on initialization of the object.
refresh Called when refreshing an object.

Authors

Copyright

License