internal static HandleRef getCPtr(SWIGTYPE_p_Matrix4 obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void SetMatrix_Screen(int zoffset, SWIGTYPE_p_Matrix4 m) { C4dApiPINVOKE.BaseDraw_SetMatrix_Screen__SWIG_2(swigCPtr, zoffset, SWIGTYPE_p_Matrix4.getCPtr(m)); }
public SWIGTYPE_p_Matrix4 GetViewMatrix(int n) { SWIGTYPE_p_Matrix4 ret = new SWIGTYPE_p_Matrix4(C4dApiPINVOKE.BaseDraw_GetViewMatrix(swigCPtr, n), false); return ret; }
public static bool PickObject(BaseDraw bd, BaseDocument doc, int x, int y, int rad, SWIGTYPE_p_VIEWPORT_PICK_FLAGS flags, LassoSelection ls, SWIGTYPE_p_C4DObjectList list, SWIGTYPE_p_Matrix4 m) { bool ret = C4dApiPINVOKE.ViewportSelect_PickObject__SWIG_0(BaseDraw.getCPtr(bd), BaseDocument.getCPtr(doc), x, y, rad, SWIGTYPE_p_VIEWPORT_PICK_FLAGS.getCPtr(flags), LassoSelection.getCPtr(ls), SWIGTYPE_p_C4DObjectList.getCPtr(list), SWIGTYPE_p_Matrix4.getCPtr(m)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }