コード例 #1
0
ファイル: BrushBase.cs プロジェクト: reliefpfeiler42/Fusee
        public bool InitTool(BaseDocument doc, BaseContainer data, BaseThread bt, BrushToolData tool)
        {
            bool ret = C4dApiPINVOKE.BrushBase_InitTool(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), BaseThread.getCPtr(bt), BrushToolData.getCPtr(tool));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BrushToolData obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }