ShaderType (Shader)
Introduced
7.0
Description
Returns one of the siShaderType enum values representing the shader type.
C# Syntax
// get accessor siShaderType rtn = Shader.ShaderType;
Examples
VBScript Example
set cube = Application.ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface" ) set mat = cube.AddMaterial( "Phong" ) set phong = mat.Surface.Source Application.LogMessage phong.ShaderType ' Expected results: ' INFO : 1 //
Autodesk Softimage v7.5