AddShaderAttachedComment

導入

v7.0

カテゴリ

レンダリング

詳細

アタッチされたコメントを Shader に追加します。

スクリプト構文

oReturn = AddShaderAttachedComment( [Container] );

戻り値

新しいコメント(Shader として)。

パラメータ

パラメータ タイプ 詳細
Container 選択リストまたは選択

デフォルト値:引数が指定されていない場合は、現在の選択が使用されます。

JScript の例

/*
        This example demonstrates how to use the AddShaderAttachedComment command.
*/
NewScene(null, false);
AddShaderAttachedComment( "Sources.Materials.DefaultLib.Scene_Material.Phong" );

関連項目

CreateShaderFromCLSID CreateShaderFromProgID CreateShaderCompound NestShaders UnnestShaders AddShaderCompoundPort RemoveShaderCompoundPort MoveShaderCompoundPort RenameShaderCompoundPort ExportShaderCompound ImportShaderCompound ExplodeShaderCompound SetShaderCompoundPropertiesEx GetShaderCompoundProperties EditShaderCompoundPPGLogic