public BaseObject GetHierarchyClone(HierarchyHelp hh, BaseObject op, HIERARCHYCLONEFLAGS flags, SWIGTYPE_p_Bool dirty, AliasTrans trans) { IntPtr cPtr = C4dApiPINVOKE.BaseObject_GetHierarchyClone(swigCPtr, HierarchyHelp.getCPtr(hh), BaseObject.getCPtr(op), (int)flags, SWIGTYPE_p_Bool.getCPtr(dirty), AliasTrans.getCPtr(trans)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; }
public void AddDependence(HierarchyHelp hh, BaseObject op) { C4dApiPINVOKE.BaseObject_AddDependence(swigCPtr, HierarchyHelp.getCPtr(hh), BaseObject.getCPtr(op)); }
public bool CheckCache(HierarchyHelp hh) { bool ret = C4dApiPINVOKE.BaseObject_CheckCache(swigCPtr, HierarchyHelp.getCPtr(hh)); return ret; }
public BaseObject GetCache(HierarchyHelp hh) { IntPtr cPtr = C4dApiPINVOKE.BaseObject_GetCache__SWIG_0(swigCPtr, HierarchyHelp.getCPtr(hh)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; }
public static BaseObject GetVirtualLineObject(BaseObject op, HierarchyHelp hh, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mloc, bool keep_spline, bool recurse, ref Fusee.Math.Core.Matrix4D /* Matrix*&_cstype */ mres, SWIGTYPE_p_Bool dirty) { double[] adbl_mloc; unsafe {adbl_mloc = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mloc); fixed (double *pdbl_mloc = adbl_mloc) { /* constMatrix&_csin_pre */ double[] adbl_mres; unsafe {adbl_mres = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mres); fixed (double *pdbl_mres = adbl_mres) { /* Matrix*&_csin_pre */ try { IntPtr cPtr = C4dApiPINVOKE.GetVirtualLineObject(BaseObject.getCPtr(op), HierarchyHelp.getCPtr(hh), (IntPtr) pdbl_mloc /* constMatrix&_csin */, keep_spline, recurse, (IntPtr) pdbl_mres /* Matrix*&_csin */, SWIGTYPE_p_Bool.getCPtr(dirty)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; } finally { // NOP mloc = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mloc); /* constMatrix&_csin_post */ mres = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mres); /* Matrix*&_csin_post */ } } } /* Matrix*&_csin_terminator */ } } /* constMatrix&_csin_terminator */ }
internal static HandleRef getCPtr(HierarchyHelp obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public virtual BaseObject GetVirtualObjects(BaseObject op, HierarchyHelp hh) { IntPtr cPtr = C4dApiPINVOKE.ObjectData_GetVirtualObjects(swigCPtr, BaseObject.getCPtr(op), HierarchyHelp.getCPtr(hh)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; }