private static void interpolator_set(System.IntPtr obj, System.IntPtr pd, Efl.Interpolator interpolator) { Eina.Log.Debug("function efl_animation_interpolator_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd); if (wrapper != null) { try { ((Animation)wrapper).SetInterpolator(interpolator); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_animation_interpolator_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), interpolator); } }
/// <summary>Interpolator property</summary> /// <param name="interpolator">Interpolator which indicates interpolation fucntion. Efl_Interpolator is required.</param> /// <returns></returns> virtual public void SetInterpolator(Efl.Interpolator interpolator) { Efl.Canvas.AnimationNativeInherit.efl_animation_interpolator_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), interpolator); Eina.Error.RaiseIfUnhandledException(); }