v7.0
シェーダタイプを表すsiShaderType列挙型の値の 1 つを戻します。
// get accessor siShaderType rtn = Shader.ShaderType; |
NewScene , False set cube = Application.ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface" ) set mat = cube.AddMaterial( "Phong" ) set phong = mat.Shaders("Phong") Application.LogMessage phong.ShaderType ' INFO : 1 |