public SdfRelationshipSpecHandle(SdfRelationshipSpec spec) : this(UsdCsPINVOKE.new_SdfRelationshipSpecHandle__SWIG_1(SdfRelationshipSpec.getCPtr(spec)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public SdfRelationshipSpec __deref__()
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.SdfRelationshipSpecHandle___deref__(swigCPtr);
            SdfRelationshipSpec   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SdfRelationshipSpec(cPtr, false);

            return(ret);
        }
Esempio n. 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfRelationshipSpec obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }