Beispiel #1
0
 void UpdatePathMouseInfo()
 {
     if (!hasUpdatedScreenSpaceLine || (screenSpaceLine != null && screenSpaceLine.TransformIsOutOfDate()))
     {
         screenSpaceLine           = new ScreenSpacePolyLine(bezierPath, creator.transform, screenPolylineMaxAngleError, screenPolylineMinVertexDst);
         hasUpdatedScreenSpaceLine = true;
     }
     pathMouseInfo = screenSpaceLine.CalculateMouseInfo();
 }
Beispiel #2
0
 void UpdatePathMouseInfo()
 {
     if (!hasUpdatedScreenSpaceLine)
     {
         screenSpaceLine           = new ScreenSpacePolyLine(bezierPath, screenPolylineMaxAngleError, screenPolylineMinVertexDst);
         hasUpdatedScreenSpaceLine = true;
     }
     pathMouseInfo = screenSpaceLine.CalculateMouseInfo();
 }