Class SpotLight

SpotLight Stub

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
draw Called on the draw cycle.
initialize The function called on initialization of the object.
refresh Called when refreshing an object.
shutdown Called on shutdown.
update Called on the update cycle.

Authors

Copyright

License