Shader.OutputType

導入

v2.0

詳細

このシェーダの出力タイプを、siShaderParameterType列挙型の値の 1 つとして戻します。

VBScript の例

NewScene , False
set cube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set mat = cube.AddMaterial("Phong")
set phong = mat.Shaders("Phong")
Application.LogMessage phong.OutputType
' INFO : 4