HyperWorks Desktop

*LightInfo()

Defines the light source for a graphic.

*LightInfo()

Defines the light source for a graphic.

Previous topic Next topic No expanding text in this topic  

*LightInfo()

Defines the light source for a graphic.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

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

Arguments

Name

Description

 

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

Example

*BeginGraphic()

 *LightInfo(0, 0, 1, 0.5, 0.5, 0.5, 64)

 • • •

*EndGraphic()

Application

MotionView and HyperView.

Context

*BeginGraphic()

*BeginPage()

Report Definitions

Comments

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

See also

 

*ClippingRegion()

*Force()

*Marker()

*ModelSource()

*Part()

*Preferences() - Graphics Files

*RotationAngle()

*Tracking()

*View()

List of Session Statements