Defines the light source for a graphic.
*LightInfo()Defines the light source for a graphic. |
|||||
*LightInfo()Defines the light source for a graphic. |
Syntax |
*LightInfo (X, Y, Z, SRed, SGreen, SBlue, Shininess) |
|
Arguments |
Name |
Description |
X,Y,Z |
The location coordinates of the light source. Z range = 0.0 to 1.0 Defaults = 0.0, 0.0, 1.0 |
|
SRed SGreen SBlue |
The specular highlight color components for the light. Range = 0.0 to 1.0 for each component. Defaults = 0.5, 0.5, 0.5 |
|
Shininess |
The intensity of the light. Range = 0 to 128 Default = 64 |
|
Example |
*BeginGraphic() *LightInfo(0, 0, 1, 0.5, 0.5, 0.5, 64) • • • *EndGraphic() |
|
Application |
MotionView and HyperView. |
|
Context |
||
Comments |
*LightInfo() replaces the functionality of *LightSources() which is no longer a valid statement. |
|
See also |
|
|