Exemple #1
0
        public virtual KeyFrame _clone(AnimationTrack newParent)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.KeyFrame__clone(swigCPtr, AnimationTrack.getCPtr(newParent));
            KeyFrame ret = (cPtr == global::System.IntPtr.Zero) ? null : new KeyFrame(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public TransformKeyFrame(AnimationTrack parent, float time) : this(OgrePINVOKE.new_TransformKeyFrame(AnimationTrack.getCPtr(parent), time), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
            public virtual bool getInterpolatedKeyFrame(AnimationTrack t, TimeIndex timeIndex, KeyFrame kf)
            {
                bool ret = OgrePINVOKE.AnimationTrack_Listener_getInterpolatedKeyFrame(swigCPtr, AnimationTrack.getCPtr(t), TimeIndex.getCPtr(timeIndex), KeyFrame.getCPtr(kf));

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