UnityEngine.Shader.INTERNAL_CALL_SetGlobalMatrix C# (CSharp) Method

INTERNAL_CALL_SetGlobalMatrix() private static method

private static INTERNAL_CALL_SetGlobalMatrix ( string propertyName, Matrix4x4 &mat ) : void
propertyName string
mat Matrix4x4
return void
		private static void INTERNAL_CALL_SetGlobalMatrix(string propertyName, ref Matrix4x4 mat){}
		public static void SetGlobalTexGenMode(string propertyName, TexGenMode mode){}

Same methods

Shader::INTERNAL_CALL_SetGlobalMatrix ( int nameID, Matrix4x4 &mat ) : void

Usage Example

コード例 #1
0
 /// <summary>
 ///   <para>Sets a global matrix property for all shaders.</para>
 /// </summary>
 /// <param name="propertyName"></param>
 /// <param name="mat"></param>
 /// <param name="nameID"></param>
 public static void SetGlobalMatrix(int nameID, Matrix4x4 mat)
 {
     Shader.INTERNAL_CALL_SetGlobalMatrix(nameID, ref mat);
 }