public SdfPayloadVector(SdfPayloadVector other) : this(UsdCsPINVOKE.new_SdfPayloadVector__SWIG_1(SdfPayloadVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public SdfPayloadVectorEnumerator(SdfPayloadVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, SdfPayloadVector values) { UsdCsPINVOKE.SdfPayloadVector_SetRange(swigCPtr, index, SdfPayloadVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public bool SetPayloads(SdfPayloadVector items) { bool ret = UsdCsPINVOKE.UsdPayloads_SetPayloads(swigCPtr, SdfPayloadVector.getCPtr(items)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SdfPayloadVector Repeat(SdfPayload value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.SdfPayloadVector_Repeat(SdfPayload.getCPtr(value), count); SdfPayloadVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfPayloadVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SdfPayloadVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.SdfPayloadVector_GetRange(swigCPtr, index, count); SdfPayloadVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfPayloadVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfPayloadVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }