public BaseObject GetEditObject(SWIGTYPE_p_p_BaseObject psds, DISPLAYEDITSTATE state) { global::System.IntPtr cPtr = C4dApiPINVOKE.BaseObject_GetEditObject(swigCPtr, SWIGTYPE_p_p_BaseObject.getCPtr(psds), (int)state); BaseObject ret = (BaseObject)C4dApiPINVOKE.InstantiateConcreteObject(cPtr, false); return(ret); }
public BaseList2D AnimationLayerRemap(SWIGTYPE_p_p_BaseObject layer) { global::System.IntPtr cPtr = C4dApiPINVOKE.BaseList2D_AnimationLayerRemap__SWIG_0(swigCPtr, SWIGTYPE_p_p_BaseObject.getCPtr(layer)); BaseList2D ret = (cPtr == global::System.IntPtr.Zero) ? null : new BaseList2D(cPtr, false); return(ret); }
public static void Free(SWIGTYPE_p_p_BaseObject bl) { C4dApiPINVOKE.BaseObject_Free(SWIGTYPE_p_p_BaseObject.getCPtr(bl)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool GetModifiedObjects(BaseTag tag, BaseDocument doc, SWIGTYPE_p_p_BaseObject op, SWIGTYPE_p_Bool pluginownedop, ref Fusee.Math.Core.double4x4 /* constMatrix&_cstype */ op_mg, double lod, int flags, BaseThread thread) { double[] adbl_op_mg; unsafe { adbl_op_mg = Fusee.Math.ArrayConvert.double4x4ToArrayDoubleC4DLayout(op_mg); fixed(double *pdbl_op_mg = adbl_op_mg) { /* constMatrix&_csin_pre */ try { bool ret = C4dApiPINVOKE.TagData_GetModifiedObjects(swigCPtr, BaseTag.getCPtr(tag), BaseDocument.getCPtr(doc), SWIGTYPE_p_p_BaseObject.getCPtr(op), SWIGTYPE_p_Bool.getCPtr(pluginownedop), (global::System.IntPtr)pdbl_op_mg /* constMatrix&_csin */, lod, flags, BaseThread.getCPtr(thread)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); } finally { // NOP op_mg = Fusee.Math.ArrayConvert.ArrayDoubleC4DLayoutTodouble4x4(pdbl_op_mg); /* constMatrix&_csin_post */ } } } /* constMatrix&_csin_terminator */ }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_BaseObject obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }