OutputType (Shader)

Introduced

2.0

Description

Returns the output type of this shader as one of the values of the siShaderParameterType enum.

C# Syntax

    // get accessor
    siShaderParameterType rtn = Shader.OutputType;

Examples

VBScript Example

    set cube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
    set mat = cube.AddMaterial("Phong")
    set phong = mat.Surface.Source
    LogMessage phong.OutputType

Autodesk Softimage v7.5