public UsdShadeShaderVector(UsdShadeShaderVector other) : this(UsdCsPINVOKE.new_UsdShadeShaderVector__SWIG_1(UsdShadeShaderVector.getCPtr(other)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public UsdShadeShaderVectorEnumerator(UsdShadeShaderVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, UsdShadeShaderVector values) { UsdCsPINVOKE.UsdShadeShaderVector_SetRange(swigCPtr, index, UsdShadeShaderVector.getCPtr(values)); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public static UsdShadeShaderVector Repeat(UsdShadeShader value, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeShaderVector_Repeat(UsdShadeShader.getCPtr(value), count); UsdShadeShaderVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeShaderVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UsdShadeShaderVector GetRange(int index, int count) { global::System.IntPtr cPtr = UsdCsPINVOKE.UsdShadeShaderVector_GetRange(swigCPtr, index, count); UsdShadeShaderVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UsdShadeShaderVector(cPtr, true); if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdShadeShaderVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }