OGLMaterial.Specular
 
 
 

OGLMaterial.Specular

Description

Returns the specular Color of this material.

C# Syntax

// get accessor
Color rtn = OGLMaterial.Specular;

Examples

VBScript Example

dim grid, color
set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface")
set color = grid.Material.OGLMaterial.Specular
Application.LogMessage "OGL Material specular color: " & color.Red & ", " & color.Green & ", " & color.Blue & ", " & color.Alpha