GameFramework.KdObjectTree.BeginBuild C# (CSharp) Method

BeginBuild() public method

public BeginBuild ( int count ) : void
count int
return void
        public void BeginBuild(int count)
        {
            if (null == m_Objects || m_Objects.Length < count) {
                m_Objects = new KdTreeObject[count * 2];
            }
            m_ObjectNum = 0;
        }

Usage Example

Exemplo n.º 1
0
 static public int BeginBuild(IntPtr l)
 {
     try {
         GameFramework.KdObjectTree self = (GameFramework.KdObjectTree)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         self.BeginBuild(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }