UnityEngine.BillboardAsset.SetIndices C# (CSharp) Method

SetIndices() public method

public SetIndices ( List indices ) : void
indices List
return void
        public void SetIndices(List<ushort> indices)
        {
            if (indices == null)
            {
                throw new ArgumentNullException("indices");
            }
            this.SetIndicesInternalList(indices);
        }

Same methods

BillboardAsset::SetIndices ( ushort indices ) : void

Usage Example

コード例 #1
0
 static public int SetIndices(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(System.UInt16[])))
         {
             UnityEngine.BillboardAsset self = (UnityEngine.BillboardAsset)checkSelf(l);
             System.UInt16[]            a1;
             checkArray(l, 2, out a1);
             self.SetIndices(a1);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(List <System.UInt16>)))
         {
             UnityEngine.BillboardAsset self = (UnityEngine.BillboardAsset)checkSelf(l);
             System.Collections.Generic.List <System.UInt16> a1;
             checkType(l, 2, out a1);
             self.SetIndices(a1);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.BillboardAsset::SetIndices