コード例 #1
0
 public DescID(DescID src) : this(C4dApiPINVOKE.new_DescID__SWIG_1(DescID.getCPtr(src)), true)
 {
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
 public void SetSingleDescriptionMode(DescID descid)
 {
     C4dApiPINVOKE.Description_SetSingleDescriptionMode(swigCPtr, DescID.getCPtr(descid));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
        public bool SetParameter(DescID id, GeData t_data)
        {
            bool ret = C4dApiPINVOKE.BaseContainer_SetParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
        public bool Remove(DescID descid)
        {
            bool ret = C4dApiPINVOKE.DynamicDescription_Remove(swigCPtr, DescID.getCPtr(descid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public bool Set(DescID descid, BaseContainer datadescription, BaseList2D bl)
        {
            bool ret = C4dApiPINVOKE.DynamicDescription_Set(swigCPtr, DescID.getCPtr(descid), BaseContainer.getCPtr(datadescription), BaseList2D.getCPtr(bl));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public bool SetDescIDState(DescID id, DESCIDSTATE descidstate)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_SetDescIDState(swigCPtr, DescID.getCPtr(id), (int)descidstate);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
        public bool IsPartOf(DescID cmp, SWIGTYPE_p_Int32 pos)
        {
            bool ret = C4dApiPINVOKE.DescID_IsPartOf(swigCPtr, DescID.getCPtr(cmp), SWIGTYPE_p_Int32.getCPtr(pos));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
        public bool GetAnimatedParameter(DescID id, GeData t_data1, GeData t_data2, SWIGTYPE_p_Float mix, DESCFLAGS_GET flags)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_GetAnimatedParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data1), GeData.getCPtr(t_data2), SWIGTYPE_p_Float.getCPtr(mix), (int)flags);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #9
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
        public bool GetPopupId(int id, DescID descid)
        {
            bool ret = C4dApiPINVOKE.Description_GetPopupId(swigCPtr, id, DescID.getCPtr(descid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #10
0
        public bool SetKeyframeSelection(DescID id, bool selection)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_SetKeyframeSelection(swigCPtr, DescID.getCPtr(id), selection);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
        public bool SetParameter(DescID id, BaseContainer param, DescID groupid)
        {
            bool ret = C4dApiPINVOKE.Description_SetParameter(swigCPtr, DescID.getCPtr(id), BaseContainer.getCPtr(param), DescID.getCPtr(groupid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #12
0
        public bool TranslateDescID(DescID id, DescID res_id, SWIGTYPE_p_p_C4DAtom res_at)
        {
            bool ret = C4dApiPINVOKE.C4DAtom_TranslateDescID(swigCPtr, DescID.getCPtr(id), DescID.getCPtr(res_id), SWIGTYPE_p_p_C4DAtom.getCPtr(res_at));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #13
0
        public bool GetEnabling(DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.C4DAtom_GetEnabling(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #14
0
        public bool SetParameter(DescID id, GeData t_data, DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.C4DAtom_SetParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #15
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
        public bool CheckDescID(DescID searchid, AtomArray ops, DescID completeid)
        {
            bool ret = C4dApiPINVOKE.Description_CheckDescID(swigCPtr, DescID.getCPtr(searchid), AtomArray.getCPtr(ops), DescID.getCPtr(completeid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #16
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
        public bool GetSubDescriptionWithData(DescID did, AtomArray op, SWIGTYPE_p_RESOURCEDATATYPEPLUGIN resdatatypeplugin, BaseContainer bc, DescID singledescid)
        {
            bool ret = C4dApiPINVOKE.Description_GetSubDescriptionWithData(swigCPtr, DescID.getCPtr(did), AtomArray.getCPtr(op), SWIGTYPE_p_RESOURCEDATATYPEPLUGIN.getCPtr(resdatatypeplugin), BaseContainer.getCPtr(bc), DescID.getCPtr(singledescid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #17
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
 public void GetDescEntry(SWIGTYPE_p_DescEntry de, SWIGTYPE_p_p_BaseContainer bc, DescID descid)
 {
     C4dApiPINVOKE.Description_GetDescEntry(swigCPtr, SWIGTYPE_p_DescEntry.getCPtr(de), SWIGTYPE_p_p_BaseContainer.getCPtr(bc), DescID.getCPtr(descid));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #18
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
        public bool GetNext(SWIGTYPE_p_void handle, SWIGTYPE_p_p_BaseContainer bc, DescID id, DescID groupid)
        {
            bool ret = C4dApiPINVOKE.Description_GetNext__SWIG_0(swigCPtr, SWIGTYPE_p_void.getCPtr(handle), SWIGTYPE_p_p_BaseContainer.getCPtr(bc), DescID.getCPtr(id), DescID.getCPtr(groupid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #19
0
        public bool SetDescriptionID(BaseList2D arg0, DescID id)
        {
            bool ret = C4dApiPINVOKE.CTrack_SetDescriptionID(swigCPtr, BaseList2D.getCPtr(arg0), DescID.getCPtr(id));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #20
0
ファイル: CAMorphNode.cs プロジェクト: reliefpfeiler42/Fusee
        public bool GetParam(int index, GeData data, DescID id)
        {
            bool ret = C4dApiPINVOKE.CAMorphNode_GetParam(swigCPtr, index, GeData.getCPtr(data), DescID.getCPtr(id));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #21
0
ファイル: BrushBase.cs プロジェクト: reliefpfeiler42/Fusee
        public bool GetDEnabling(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.BrushBase_GetDEnabling(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #22
0
ファイル: BrushBase.cs プロジェクト: reliefpfeiler42/Fusee
        public bool SetDParameter(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.BrushBase_SetDParameter(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #23
0
        public virtual bool SetDParameter(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = (SwigDerivedClassHasMethod("SetDParameter", swigMethodTypes4) ? C4dApiPINVOKE.BrushToolData_SetDParameterSwigExplicitBrushToolData(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags)) : C4dApiPINVOKE.BrushToolData_SetDParameter(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags)));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #24
0
        public virtual bool GetDEnabling(BaseDocument doc, BaseContainer data, DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = (SwigDerivedClassHasMethod("GetDEnabling", swigMethodTypes3) ? C4dApiPINVOKE.BrushToolData_GetDEnablingSwigExplicitBrushToolData(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc)) : C4dApiPINVOKE.BrushToolData_GetDEnabling(swigCPtr, BaseDocument.getCPtr(doc), BaseContainer.getCPtr(data), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc)));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #25
0
        public virtual bool SetDParameter(GeListNode node, DescID id, GeData t_data, SWIGTYPE_p_DESCFLAGS_SET flags)
        {
            bool ret = C4dApiPINVOKE.NodeData_SetDParameter(swigCPtr, GeListNode.getCPtr(node), DescID.getCPtr(id), GeData.getCPtr(t_data), SWIGTYPE_p_DESCFLAGS_SET.getCPtr(flags));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #26
0
        public virtual bool GetDEnabling(GeListNode node, DescID id, GeData t_data, DESCFLAGS_ENABLE flags, BaseContainer itemdesc)
        {
            bool ret = C4dApiPINVOKE.NodeData_GetDEnabling(swigCPtr, GeListNode.getCPtr(node), DescID.getCPtr(id), GeData.getCPtr(t_data), (int)flags, BaseContainer.getCPtr(itemdesc));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #27
0
ファイル: Description.cs プロジェクト: reliefpfeiler42/Fusee
        public BaseContainer GetParameter(DescID id, BaseContainer temp, AtomArray ar)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.Description_GetParameter(swigCPtr, DescID.getCPtr(id), BaseContainer.getCPtr(temp), AtomArray.getCPtr(ar));
            BaseContainer         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BaseContainer(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #28
0
        public virtual bool TranslateDescID(GeListNode node, DescID id, DescID res_id, SWIGTYPE_p_p_C4DAtom res_at)
        {
            bool ret = C4dApiPINVOKE.NodeData_TranslateDescID(swigCPtr, GeListNode.getCPtr(node), DescID.getCPtr(id), DescID.getCPtr(res_id), SWIGTYPE_p_p_C4DAtom.getCPtr(res_at));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #29
0
ファイル: CAMorphNode.cs プロジェクト: reliefpfeiler42/Fusee
 public void SetParam(int index, GeData data, DescID id)
 {
     C4dApiPINVOKE.CAMorphNode_SetParam(swigCPtr, index, GeData.getCPtr(data), DescID.getCPtr(id));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #30
0
        public static CTrack Alloc(BaseList2D bl, DescID id)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.CTrack_Alloc(BaseList2D.getCPtr(bl), DescID.getCPtr(id));
            CTrack ret = (cPtr == global::System.IntPtr.Zero) ? null : new CTrack(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }