Beispiel #1
0
 internal static HandleRef getCPtr(SWIGTYPE_p_Matrix4 obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #2
0
 public void SetMatrix_Screen(int zoffset, SWIGTYPE_p_Matrix4 m) {
   C4dApiPINVOKE.BaseDraw_SetMatrix_Screen__SWIG_2(swigCPtr, zoffset, SWIGTYPE_p_Matrix4.getCPtr(m));
 }
Beispiel #3
0
 public SWIGTYPE_p_Matrix4 GetViewMatrix(int n) {
   SWIGTYPE_p_Matrix4 ret = new SWIGTYPE_p_Matrix4(C4dApiPINVOKE.BaseDraw_GetViewMatrix(swigCPtr, n), false);
   return ret;
 }
Beispiel #4
0
 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;
 }