The light object lets you access parameters driving the behaviour of this light. Here you can change the colour, or change the specular and diffuse properties. You can also get a base object which allows you to set the position of this illumination source.

Properties, Events and Methods

Name Type Description
base PropertyReturns an instance of the base object representing the position of this model instance.
color PropertyReturns a vector object representing the color of this light.
diffuse(BOOL) PropertySets whether or not this light does diffuse illumination.
name(String) PropertyReturns the name of the light.
specular(BOOL) PropertySets whether or not this light creates specular highlights.

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.