public NumericAnimationTrack createNumericTrack(ushort handle) { global::System.IntPtr cPtr = OgrePINVOKE.Animation_createNumericTrack__SWIG_0(swigCPtr, handle); NumericAnimationTrack ret = (cPtr == global::System.IntPtr.Zero) ? null : new NumericAnimationTrack(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
public NumericAnimationTrack _clone(Animation newParent) { global::System.IntPtr cPtr = OgrePINVOKE.NumericAnimationTrack__clone(swigCPtr, Animation.getCPtr(newParent)); NumericAnimationTrack ret = (cPtr == global::System.IntPtr.Zero) ? null : new NumericAnimationTrack(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(NumericAnimationTrack obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }