public static MtColorBy Create(float duration, float deltaRed, float deltaGreen, float deltaBlue, float deltaAlpha) { MtColorBy colorBy = new MtColorBy(); if (colorBy.InitWithDuration(duration, deltaRed, deltaGreen, deltaBlue, deltaAlpha)) { return(colorBy); } return(null); }
public override MtAction Reverse() { return(MtColorBy.Create(m_duration, -m_deltaR, -m_deltaG, -m_deltaB, -m_deltaA)); }
public override MtICloneable Clone() { return(MtColorBy.Create(m_duration, m_deltaR, m_deltaG, m_deltaB, m_deltaA)); }