Version: 2019.1
public static MaterialProperty GetMaterialProperty (Object[] mats, string name);
public static MaterialProperty GetMaterialProperty (Object[] mats, int propertyIndex);

パラメーター

mats選択されたマテリアル
nameプロパティー名
propertyIndexプロパティーのインデックス

説明

ひとつのシェーダープロパティーに関する情報を取得します