v7.0
Returns one of the siShaderType enum values representing the shader type.
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 |