public UsdGeomConstraintTargetVector(UsdGeomConstraintTargetVector other) : this(UsdCsPINVOKE.new_UsdGeomConstraintTargetVector__SWIG_1(UsdGeomConstraintTargetVector.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public UsdGeomConstraintTargetVectorEnumerator(UsdGeomConstraintTargetVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, UsdGeomConstraintTargetVector values)
 {
     UsdCsPINVOKE.UsdGeomConstraintTargetVector_SetRange(swigCPtr, index, UsdGeomConstraintTargetVector.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static UsdGeomConstraintTargetVector Repeat(UsdGeomConstraintTarget value, int count)
        {
            global::System.IntPtr         cPtr = UsdCsPINVOKE.UsdGeomConstraintTargetVector_Repeat(UsdGeomConstraintTarget.getCPtr(value), count);
            UsdGeomConstraintTargetVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomConstraintTargetVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public UsdGeomConstraintTargetVector GetRange(int index, int count)
        {
            global::System.IntPtr         cPtr = UsdCsPINVOKE.UsdGeomConstraintTargetVector_GetRange(swigCPtr, index, count);
            UsdGeomConstraintTargetVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomConstraintTargetVector(cPtr, true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomConstraintTargetVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Пример #7
0
        public UsdGeomConstraintTargetVector GetConstraintTargets()
        {
            UsdGeomConstraintTargetVector ret = new UsdGeomConstraintTargetVector(UsdCsPINVOKE.UsdGeomModelAPI_GetConstraintTargets(swigCPtr), true);

            return(ret);
        }