Exemplo n.º 1
0
 public GeData(BaseTime n) : this(C4dApiPINVOKE.new_GeData__SWIG_13(BaseTime.getCPtr(n)), true)
 {
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void SetBaseTime(BaseTime v)
 {
     C4dApiPINVOKE.GeData_SetBaseTime(swigCPtr, BaseTime.getCPtr(v));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void SetTime(int id, BaseTime b)
 {
     C4dApiPINVOKE.BaseContainer_SetTime(swigCPtr, id, BaseTime.getCPtr(b));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public void SetLoopMaxTime(BaseTime t)
 {
     C4dApiPINVOKE.BaseDocument_SetLoopMaxTime(swigCPtr, BaseTime.getCPtr(t));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public void SetTimeRight(CCurve seq, BaseTime t)
 {
     C4dApiPINVOKE.CKey_SetTimeRight(swigCPtr, CCurve.getCPtr(seq), BaseTime.getCPtr(t));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
        public bool WriteTime(BaseTime v)
        {
            bool ret = C4dApiPINVOKE.HyperFile_WriteTime(swigCPtr, BaseTime.getCPtr(v));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public int TimeDif(BaseTime t2)
        {
            int ret = C4dApiPINVOKE.BaseTime_TimeDif(swigCPtr, BaseTime.getCPtr(t2));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public bool SetTime(BaseTime t, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_SetTime(swigCPtr, BaseTime.getCPtr(t), GvRun.getCPtr(r));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
        public double GetValue(BaseTime time)
        {
            double ret = C4dApiPINVOKE.CCurve_GetValue(swigCPtr, BaseTime.getCPtr(time));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
        public int MoveKey(BaseTime time, int idx)
        {
            int ret = C4dApiPINVOKE.CCurve_MoveKey__SWIG_1(swigCPtr, BaseTime.getCPtr(time), idx);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
        public CKey FindKey(BaseTime time)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.CCurve_FindKey__SWIG_2(swigCPtr, BaseTime.getCPtr(time));
            CKey ret = (cPtr == global::System.IntPtr.Zero) ? null : new CKey(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 12
0
 public void CalcSoftTangents(int kidx, SWIGTYPE_p_Float vl, SWIGTYPE_p_Float vr, BaseTime tl, BaseTime tr)
 {
     C4dApiPINVOKE.CCurve_CalcSoftTangents(swigCPtr, kidx, SWIGTYPE_p_Float.getCPtr(vl), SWIGTYPE_p_Float.getCPtr(vr), BaseTime.getCPtr(tl), BaseTime.getCPtr(tr));
 }
Exemplo n.º 13
0
        public CKey AddKeyAdaptTangent(BaseTime time, bool bUndo)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.CCurve_AddKeyAdaptTangent__SWIG_1(swigCPtr, BaseTime.getCPtr(time), bUndo);
            CKey ret = (cPtr == global::System.IntPtr.Zero) ? null : new CKey(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 14
0
        public double GetValue(BaseDocument doc, BaseTime time)
        {
            double ret = C4dApiPINVOKE.CTrack_GetValue(swigCPtr, BaseDocument.getCPtr(doc), BaseTime.getCPtr(time));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 15
0
        public bool CollectSounds(SWIGTYPE_p_BaseSound snd, BaseTime from, BaseTime to)
        {
            bool ret = C4dApiPINVOKE.BaseDocument_CollectSounds(swigCPtr, SWIGTYPE_p_BaseSound.getCPtr(snd), BaseTime.getCPtr(from), BaseTime.getCPtr(to));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 16
0
        public bool AnimateTrack(BaseDocument doc, BaseList2D op, BaseTime tt, int flags, SWIGTYPE_p_Bool chg)
        {
            bool ret = C4dApiPINVOKE.CTrack_AnimateTrack__SWIG_1(swigCPtr, BaseDocument.getCPtr(doc), BaseList2D.getCPtr(op), BaseTime.getCPtr(tt), flags, SWIGTYPE_p_Bool.getCPtr(chg));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 17
0
        public bool RecordKey(BaseList2D op, BaseTime time, DescID id, BaseList2D undo, bool eval_attribmanager, bool autokeying, bool allow_linking)
        {
            bool ret = C4dApiPINVOKE.BaseDocument_RecordKey(swigCPtr, BaseList2D.getCPtr(op), BaseTime.getCPtr(time), DescID.getCPtr(id), BaseList2D.getCPtr(undo), eval_attribmanager, autokeying, allow_linking);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 18
0
        public BaseTime GetTime(int id, BaseTime preset)
        {
            BaseTime ret = new BaseTime(C4dApiPINVOKE.BaseContainer_GetTime__SWIG_0(swigCPtr, id, BaseTime.getCPtr(preset)), true);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 19
0
        public bool ReadTime(BaseTime v)
        {
            bool ret = C4dApiPINVOKE.HyperFile_ReadTime(swigCPtr, BaseTime.getCPtr(v));

            return(ret);
        }
Exemplo n.º 20
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c, int index, BaseTime time)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_0(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c), index, BaseTime.getCPtr(time));

            return(ret);
        }
Exemplo n.º 21
0
 public void AnimateObject(BaseList2D op, BaseTime time, ANIMATEFLAGS flags)
 {
     C4dApiPINVOKE.BaseDocument_AnimateObject(swigCPtr, BaseList2D.getCPtr(op), BaseTime.getCPtr(time), (int)flags);
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 22
0
        public CKey AddKey(BaseTime time, SWIGTYPE_p_Int32 nidx)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.CCurve_AddKey__SWIG_0(swigCPtr, BaseTime.getCPtr(time), SWIGTYPE_p_Int32.getCPtr(nidx));
            CKey ret = (cPtr == global::System.IntPtr.Zero) ? null : new CKey(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 23
0
        public bool Draw(SWIGTYPE_p_GeClipMap map, BaseTime clip_left, BaseTime clip_right)
        {
            bool ret = C4dApiPINVOKE.CTrack_Draw(swigCPtr, SWIGTYPE_p_GeClipMap.getCPtr(map), BaseTime.getCPtr(clip_left), BaseTime.getCPtr(clip_right));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 24
0
        public bool GetTime(BaseTime t, GvRun r)
        {
            bool ret = C4dApiPINVOKE.GvPort_GetTime(swigCPtr, BaseTime.getCPtr(t), GvRun.getCPtr(r));

            return(ret);
        }
Exemplo n.º 25
0
        public bool SetTimeRightAdjustValue(CCurve seq, BaseTime t)
        {
            bool ret = C4dApiPINVOKE.CKey_SetTimeRightAdjustValue(swigCPtr, CCurve.getCPtr(seq), BaseTime.getCPtr(t));

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