このマテリアルのアンビエントColorを戻します。
// get accessor Color rtn = OGLMaterial.Ambient; |
dim grid, color set grid = ActiveProject.ActiveScene.Root.AddGeometry("Grid", "MeshSurface") set color = grid.Material.OGLMaterial.Ambient Application.LogMessage "OGL Material ambient color: " & color.Red & ", " & color.Green & ", " & color.Blue & ", " & color.Alpha |