Ejemplo n.º 1
0
 public StdFloatVector(StdFloatVector other) : this(UsdCsPINVOKE.new_StdFloatVector__SWIG_1(StdFloatVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public GfMatrix4f(StdFloatVector r0, StdFloatVector r1, StdFloatVector r2, StdFloatVector r3) : this(UsdCsPINVOKE.new_GfMatrix4f__SWIG_7(StdFloatVector.getCPtr(r0), StdFloatVector.getCPtr(r1), StdFloatVector.getCPtr(r2), StdFloatVector.getCPtr(r3)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public StdFloatVectorEnumerator(StdFloatVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 4
0
 public void SetRange(int index, StdFloatVector values)
 {
     UsdCsPINVOKE.StdFloatVector_SetRange(swigCPtr, index, StdFloatVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
        public static StdFloatVector Repeat(float value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.StdFloatVector_Repeat(value, count);
            StdFloatVector        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdFloatVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public StdFloatVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.StdFloatVector_GetRange(swigCPtr, index, count);
            StdFloatVector        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StdFloatVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StdFloatVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }