Ejemplo n.º 1
0
 public Vector3Vector(Vector3Vector other) : this(SharpMochaPINVOKE.new_Vector3Vector__SWIG_1(Vector3Vector.getCPtr(other)), true)
 {
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public Vector3VectorEnumerator(Vector3Vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
 }