HyperWorks Desktop

*Specular()

Specifies the red, green, and blue values for the specular light component of a material.

*Specular()

Specifies the red, green, and blue values for the specular light component of a material.

Previous topic Next topic No expanding text in this topic  

*Specular()

Specifies the red, green, and blue values for the specular light component of a material.

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

Syntax

*Specular(Red, Green, Blue)

Arguments

Name

Description

 

Red

A value from 0 to 1; 0 is no specular light and 1 is the highest intensity.

 

Green

A value from 0 to 1; 0 is no specular light and 1 is the highest intensity.

 

Blue

A value from 0 to 1; 0 is no specular light and 1 is the highest intensity.

Example

*BeginPalette()

 *BeginMaterial()

         *Name("blue green")

         *Emission(0, 0, 0)

         *Ambient(0, 0.46118, 0.6)

         *Diffuse(0, 0.76863, 1)

         *Specular(0, 0, 0)

         *Shininess(0)

         *Alpha(1)

 *EndMaterial()

*EndPalette()

Application

MotionView and HyperView.

Context

*BeginMaterial()

*BeginPalette()

Preference Files

See also

List of Session Statements