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); }
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); }
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); }