MaterialSpecularColor

Syntax

<Path>.MaterialSpecularColor:integer

The attribute MaterialSpecularColor sets the specular color of the graphic designated by <Path>.

Note:

You can only access the attribute if the material is active.

Note:

When you assign the attribute, Plant Simulation deactivates graphic inheritance.

Note:

You cannot assign the attribute when the graphic is an automatically generated graphic group or when the graphic is located in an automatically generated graphic group.

Data Type of the Value You Can Assign

You can assign a value of data type integer.

Example

MyStation._3D.getGraphic("default", [3,3]).MaterialSpecularColor := makeRGBValue(0,255,0)

Related Topics

Edit 3D Properties > Tab Material > Specular Color

MaterialActive

MaterialAmbientColor

MaterialDiffuseColor

MaterialShininess

MaterialSpecularColor

MaterialTransparency