## OGLMaterial.Diffuse

### Description

Returns the diffuse Color of this material.

### C# Syntax

    // get accessor

    Color rtn = OGLMaterial.Diffuse;

### Examples

#### VBScript Example

    dim grid, color

    set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface")

    set color = grid.Material.OGLMaterial.Diffuse

    Application.LogMessage "OGL Material diffuse color: " & color.Red & ", " & color.Green & ", " & color.Blue & ", " & color.Alpha