示例#1
0
 /// <summary>Sets a shader parameter with the given name to the provided value. If no parameter
 /// is found, nothing happens, and the value is not set!</summary>
 /// <param name="name">Name of the shader parameter.</param>
 /// <param name="value">New value for the parameter.</param>
 public void SetMatrix(string name, Matrix value)
 {
     NativeAPI.material_set_matrix(_materialInst, name, value);
 }