arcticPigs release V1.0 helpefiles |
![]() |
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.
Name | Type | Description |
---|---|---|
base | ![]() | Returns an instance of the base object representing the position of this model instance. |
color | ![]() | Returns a vector object representing the color of this light. |
diffuse(BOOL) | ![]() | Sets whether or not this light does diffuse illumination. |
name(String) | ![]() | Returns the name of the light. |
specular(BOOL) | ![]() | Sets whether or not this light creates specular highlights. |
Last Updated: 06/22/02 |