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

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