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