Exemplo n.º 1
0
        public virtual NumericKeyFrame createNumericKeyFrame(float timePos)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.NumericAnimationTrack_createNumericKeyFrame(swigCPtr, timePos);
            NumericKeyFrame       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new NumericKeyFrame(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public NumericKeyFrame getNumericKeyFrame(ushort index)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.NumericAnimationTrack_getNumericKeyFrame(swigCPtr, index);
            NumericKeyFrame       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new NumericKeyFrame(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NumericKeyFrame obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }