public SdfAttributeSpecHandle(SdfAttributeSpec spec) : this(UsdCsPINVOKE.new_SdfAttributeSpecHandle__SWIG_1(SdfAttributeSpec.getCPtr(spec)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
public SdfAttributeSpec __deref__() { global::System.IntPtr cPtr = UsdCsPINVOKE.SdfAttributeSpecHandle___deref__(swigCPtr); SdfAttributeSpec ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfAttributeSpec(cPtr, false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfAttributeSpec obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }