OGLMaterial

Object Hierarchy | 関連する C++クラス:OGLMaterial

説明

OGLMaterial オブジェクトは、マテリアルオブジェクトの OGLプロパティです。OGLMaterial オブジェクトは読み取り専用です。OGLMaterial は、Material.OGLMaterialを使用して作成します。

プロパティ

Ambient Decay Diffuse ShadingModel
Specular      
       

VBScript の例

dim grid, oglMat
set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface")
set oglMat = grid.Material.OGLMaterial
Application.LogMessage "OGL material: " & TypeName(oglMat)