public SdfLayerTree __deref__() { global::System.IntPtr cPtr = UsdCsPINVOKE.SdfLayerTreeHandle___deref__(swigCPtr); SdfLayerTree ret = (cPtr == global::System.IntPtr.Zero) ? null : new SdfLayerTree(cPtr, true); return(ret); }
public SdfLayerTreeHandle(SdfLayerTree layer) : this(UsdCsPINVOKE.new_SdfLayerTreeHandle(SdfLayerTree.getCPtr(layer)), true) { if (UsdCsPINVOKE.SWIGPendingException.Pending) { throw UsdCsPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SdfLayerTree obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }