UnityEngine.MaterialPropertyBlock.GetMatrixArray C# (CSharp) Method

GetMatrixArray() private method

private GetMatrixArray ( int nameID ) : UnityEngine.Matrix4x4[]
nameID int
return UnityEngine.Matrix4x4[]
        public extern Matrix4x4[] GetMatrixArray(int nameID);
        /// <summary>

Same methods

MaterialPropertyBlock::GetMatrixArray ( string name ) : UnityEngine.Matrix4x4[]
MaterialPropertyBlock::GetMatrixArray ( int nameID, List values ) : void
MaterialPropertyBlock::GetMatrixArray ( string name, List values ) : void

Usage Example

コード例 #1
0
 static public int GetMatrixArray(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(string)))
         {
             UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l);
             System.String a1;
             checkType(l, 2, out a1);
             var ret = self.GetMatrixArray(a1);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(int)))
         {
             UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             var ret = self.GetMatrixArray(a1);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(string), typeof(List <UnityEngine.Matrix4x4>)))
         {
             UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l);
             System.String a1;
             checkType(l, 2, out a1);
             System.Collections.Generic.List <UnityEngine.Matrix4x4> a2;
             checkType(l, 3, out a2);
             self.GetMatrixArray(a1, a2);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(int), typeof(List <UnityEngine.Matrix4x4>)))
         {
             UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             System.Collections.Generic.List <UnityEngine.Matrix4x4> a2;
             checkType(l, 3, out a2);
             self.GetMatrixArray(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function GetMatrixArray to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.MaterialPropertyBlock::GetMatrixArray