예제 #1
0
 public Vector3Vector(Vector3Vector other) : this(SharpMochaPINVOKE.new_Vector3Vector__SWIG_1(Vector3Vector.getCPtr(other)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public Vector3VectorEnumerator(Vector3Vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, Vector3Vector values)
 {
     SharpMochaPINVOKE.Vector3Vector_SetRange(swigCPtr, index, Vector3Vector.getCPtr(values));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public static Vector3Vector Repeat(MochaVec3 value, int count)
        {
            global::System.IntPtr cPtr = SharpMochaPINVOKE.Vector3Vector_Repeat(MochaVec3.getCPtr(value), count);
            Vector3Vector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3Vector(cPtr, true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public Vector3Vector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = SharpMochaPINVOKE.Vector3Vector_GetRange(swigCPtr, index, count);
            Vector3Vector         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3Vector(cPtr, true);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Vector3Vector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }