*LightInfo()

Defines the light source for a graphic.

Syntax

*LightInfo (X, Y, Z, SRed, SGreen, SBlue, Shininess)

Application

MotionView and HyperView

Inputs

X,Y,Z
The location coordinates of the light source.
X and Y range
-1.0 to 1.0
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

Context

*BeginGraphic()

*BeginPage()

Report Definitions

Example

*BeginGraphic()
	*LightInfo(0, 0, 1, 0.5, 0.5, 0.5, 64)
	• • •
*EndGraphic()

Comments

*LightInfo() replaces the functionality of *LightSources() which is no longer a valid statement.