/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseQuadraticActionIn action. If creation failed, return nil. */ public EaseQuadraticActionIn(ActionInterval interval) : base(interval) { }
/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseQuarticActionInOut action. If creation failed, return nil. */ public EaseQuarticActionInOut(ActionInterval interval) : base(interval) { }
/** * @brief Create the action with the inner action and the rate parameter. * @param action The pointer of the inner action. * @param rate The value of the rate parameter. * @return A pointer of EaseIn action. If creation failed, return nil. */ public EaseIn(ActionInterval action, float rate) : base(action, rate) { }
/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseBezierAction action. If creation failed, return nil. */ public EaseBezierAction(ActionInterval interval) : base(interval) { }
public EaseBounceInOut(ActionInterval interval) : base(interval) { }
/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseBackInOut action. If creation failed, return nil. */ public EaseBackInOut(ActionInterval interval) : base(interval) { }
/** * @brief Create the EaseElasticIn action with the inner action and the period in radians. * @param action The pointer of the inner action. * @param period Period of the wave in radians. * @return A pointer of EaseElasticIn action. If creation failed, return nil. */ public EaseElasticInOut(ActionInterval interval, float period) : base(interval, period) { }
/** Initializes the action with the inner action and the rate parameter */ public EaseRateAction(ActionInterval pAction, float rate) : base(pAction) { m_fRate = rate; }
/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseExponentialInOut action. If creation failed, return nil. */ public EaseExponentialInOut(ActionInterval action) : base(action) { }
/**ram action The pointer of the inner action. * @param period Period of the wave in radians. Default is 0.3. * @return Return true when the initialization success, otherwise return false. */ public EaseElastic(ActionInterval interval, float period = 5f) : base(interval) { _period = period; }
public ActionEase(ActionInterval inner) { this.inner = inner; this.duration = inner.GetDuration(); }
/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseQuarticActionInOut action. If creation failed, return nil. */ public EaseCubicActionInOut(ActionInterval interval) : base(interval) { }
/** * @brief Create the action with the inner action. * @param action The pointer of the inner action. * @return A pointer of EaseQuarticActionInOut action. If creation failed, return nil. */ public EaseCircleActionInOut(ActionInterval interval) : base(interval) { }
public RepeatForever(ActionInterval action) { _innerAction = action; }