Example #1
0
 public NumericAnimationTrack(Animation parent, ushort handle, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t target) : this(OgrePINVOKE.new_NumericAnimationTrack__SWIG_1(Animation.getCPtr(parent), handle, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t.getCPtr(target)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void applyToAnimable(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t anim, float timePos)
 {
     OgrePINVOKE.Animation_applyToAnimable__SWIG_2(swigCPtr, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t.getCPtr(anim), timePos);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public virtual void setAssociatedAnimable(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t val)
 {
     OgrePINVOKE.NumericAnimationTrack_setAssociatedAnimable(swigCPtr, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t.getCPtr(val));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void applyToAnimable(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t anim, TimeIndex timeIndex)
 {
     OgrePINVOKE.NumericAnimationTrack_applyToAnimable__SWIG_2(swigCPtr, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t.getCPtr(anim), TimeIndex.getCPtr(timeIndex));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
        public SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t createAnimableValue(string valueName)
        {
            SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t ret = new SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t(OgrePINVOKE.Light_createAnimableValue(swigCPtr, valueName), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
        public virtual SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t getAssociatedAnimable()
        {
            SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t ret = new SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t(OgrePINVOKE.NumericAnimationTrack_getAssociatedAnimable(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        public NumericAnimationTrack createNumericTrack(ushort handle, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t anim)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.Animation_createNumericTrack__SWIG_1(swigCPtr, handle, SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t.getCPtr(anim));
            NumericAnimationTrack ret  = (cPtr == global::System.IntPtr.Zero) ? null : new NumericAnimationTrack(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__SharedPtrT_Ogre__AnimableValue_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }