Version: 2022.3
言語: 日本語
public Matrix4x4 GetMatrix (string name);
public Matrix4x4 GetMatrix (int nameID);

パラメーター

nameID Shader.PropertyToID によって検索されるプロパティーの nameID
name プロパティーの名前

説明

プロパティーブロックから matrix を取得します

見つからない場合は単位行列を返します。