//-------------------------------------------------------------------------------------------------------------
 public void Prepare(Rect sRect)
 {
     if (ParameterOne < 1)
     {
         ParameterOne = 1;
     }
     if (ParameterTwo < 1)
     {
         ParameterTwo = 1;
     }
     Matrix = new STSMatrix();
     Matrix.CreateMatrix(ParameterOne, ParameterTwo, sRect);
 }
Exemple #2
0
 //-------------------------------------------------------------------------------------------------------------
 public void Prepare(Rect sRect)
 {
     //Debug.Log("STSEffectFadeLine Prepare()");
     if (ParameterOne < 1)
     {
         ParameterOne = 1;
     }
     if (ParameterTwo < 1)
     {
         ParameterTwo = 1;
     }
     Matrix = new STSMatrix();
     Matrix.CreateMatrix(ParameterOne, ParameterTwo, sRect);
 }