Ejemplo n.º 1
0
 public UsdGeomFaceSetAPIVector(UsdGeomFaceSetAPIVector other) : this(UsdCsPINVOKE.new_UsdGeomFaceSetAPIVector__SWIG_1(UsdGeomFaceSetAPIVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public UsdGeomFaceSetAPIVectorEnumerator(UsdGeomFaceSetAPIVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, UsdGeomFaceSetAPIVector values)
 {
     UsdCsPINVOKE.UsdGeomFaceSetAPIVector_SetRange(swigCPtr, index, UsdGeomFaceSetAPIVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
        public static UsdGeomFaceSetAPIVector GetFaceSets(UsdSchemaBase schemaObj)
        {
            UsdGeomFaceSetAPIVector ret = new UsdGeomFaceSetAPIVector(UsdCsPINVOKE.UsdGeomFaceSetAPI_GetFaceSets__SWIG_1(UsdSchemaBase.getCPtr(schemaObj)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public static UsdGeomFaceSetAPIVector GetFaceSets(UsdPrim prim)
        {
            UsdGeomFaceSetAPIVector ret = new UsdGeomFaceSetAPIVector(UsdCsPINVOKE.UsdGeomFaceSetAPI_GetFaceSets__SWIG_0(UsdPrim.getCPtr(prim)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public static UsdGeomFaceSetAPIVector Repeat(UsdGeomFaceSetAPI value, int count)
        {
            global::System.IntPtr   cPtr = UsdCsPINVOKE.UsdGeomFaceSetAPIVector_Repeat(UsdGeomFaceSetAPI.getCPtr(value), count);
            UsdGeomFaceSetAPIVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomFaceSetAPIVector(cPtr, true);

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

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