public SdfTimeCodeVector(SdfTimeCodeVector other) : this(UsdCsPINVOKE.new_SdfTimeCodeVector__SWIG_1(SdfTimeCodeVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public SdfTimeCodeVectorEnumerator(SdfTimeCodeVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, SdfTimeCodeVector values) { UsdCsPINVOKE.SdfTimeCodeVector_SetRange(swigCPtr, index, SdfTimeCodeVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static SdfTimeCodeVector Repeat(SdfTimeCode value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.SdfTimeCodeVector_Repeat(SdfTimeCode.getCPtr(value), count); SdfTimeCodeVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfTimeCodeVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfTimeCodeVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.SdfTimeCodeVector_GetRange(swigCPtr, index, count); SdfTimeCodeVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfTimeCodeVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfTimeCodeVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }