Description:
This object represents the Light source API.
Interface:
interface IIGVectLightSource : IIGObject
Members:
Methods
| GetAmbientColor Method |
Gets ambient color of the light source. |
| GetDiffuseColor Method |
Gets diffuse color of the light source. |
| GetDirection Method |
Gets light direction, array of 3 floats - nx, ny, nz. |
| GetPosition Method |
Gets light position, array of 3 floats - x, y, z. |
| GetSpecularColor Method |
Gets specular color of the light source. |
| SetAmbientColor Method |
Sets ambient color of the light source. |
| SetDiffuseColor Method |
Sets diffuse color of the light source. |
| SetDirection Method |
Sets light direction, array of 3 floats - nx, ny, nz. |
| SetPosition Method |
Sets light position, array of 3 floats - x, y, z. |
| SetSpecularColor Method |
Sets specular color of the light source. |