public static ViewportSelect Alloc() { global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_Alloc(); ViewportSelect ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportSelect(cPtr, false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewportSelect obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }