コード例 #1
0
 public UsdGeomPrimvarVector(UsdGeomPrimvarVector other) : this(UsdCsPINVOKE.new_UsdGeomPrimvarVector__SWIG_1(UsdGeomPrimvarVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public UsdGeomPrimvarVectorEnumerator(UsdGeomPrimvarVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, UsdGeomPrimvarVector values)
 {
     UsdCsPINVOKE.UsdGeomPrimvarVector_SetRange(swigCPtr, index, UsdGeomPrimvarVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
        public static UsdGeomPrimvarVector Repeat(UsdGeomPrimvar value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomPrimvarVector_Repeat(UsdGeomPrimvar.getCPtr(value), count);
            UsdGeomPrimvarVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomPrimvarVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public UsdGeomPrimvarVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomPrimvarVector_GetRange(swigCPtr, index, count);
            UsdGeomPrimvarVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomPrimvarVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomPrimvarVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #7
0
        public UsdGeomPrimvarVector FindInheritedPrimvars()
        {
            UsdGeomPrimvarVector ret = new UsdGeomPrimvarVector(UsdCsPINVOKE.UsdGeomImageable_FindInheritedPrimvars(swigCPtr), true);

            return(ret);
        }
コード例 #8
0
        public UsdGeomPrimvarVector GetAuthoredPrimvars()
        {
            UsdGeomPrimvarVector ret = new UsdGeomPrimvarVector(UsdCsPINVOKE.UsdGeomImageable_GetAuthoredPrimvars(swigCPtr), true);

            return(ret);
        }