示例#1
0
    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);
    }
示例#2
0
 public override MtAction Reverse()
 {
     return(MtColorBy.Create(m_duration, -m_deltaR, -m_deltaG, -m_deltaB, -m_deltaA));
 }
示例#3
0
 public override MtICloneable Clone()
 {
     return(MtColorBy.Create(m_duration, m_deltaR, m_deltaG, m_deltaB, m_deltaA));
 }