public UsdGeomBasisCurvesComputeInterpolationInfo(UsdGeomBasisCurvesComputeInterpolationInfo other) : this(UsdCsPINVOKE.new_UsdGeomBasisCurvesComputeInterpolationInfo__SWIG_1(UsdGeomBasisCurvesComputeInterpolationInfo.getCPtr(other)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public UsdGeomBasisCurvesComputeInterpolationInfoEnumerator(UsdGeomBasisCurvesComputeInterpolationInfo collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, UsdGeomBasisCurvesComputeInterpolationInfo values)
 {
     UsdCsPINVOKE.UsdGeomBasisCurvesComputeInterpolationInfo_SetRange(swigCPtr, index, UsdGeomBasisCurvesComputeInterpolationInfo.getCPtr(values));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
        public TfToken ComputeInterpolationForSize(uint n, UsdTimeCode timeCode, UsdGeomBasisCurvesComputeInterpolationInfo info)
        {
            TfToken ret = new TfToken(UsdCsPINVOKE.UsdGeomBasisCurves_ComputeInterpolationForSize__SWIG_0(swigCPtr, n, UsdTimeCode.getCPtr(timeCode), UsdGeomBasisCurvesComputeInterpolationInfo.getCPtr(info)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static UsdGeomBasisCurvesComputeInterpolationInfo Repeat(UsdGeomBasisCurvesComputeInterpolationInfoPair value, int count)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.UsdGeomBasisCurvesComputeInterpolationInfo_Repeat(UsdGeomBasisCurvesComputeInterpolationInfoPair.getCPtr(value), count);
            UsdGeomBasisCurvesComputeInterpolationInfo ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdGeomBasisCurvesComputeInterpolationInfo(cPtr, true);

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

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