Object Hierarchy | Related C++ Class: OGLMaterial
The OGLMaterial object represents the OGL properties of a material object. OGLMaterial objects are read-only. OGLMaterial can be created with Material.OGLMaterial
dim grid, oglMat
set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface")
set oglMat = grid.Material.OGLMaterial
Application.LogMessage "OGL material: " & TypeName(oglMat)
|