public static DrawLineInWorld ( System.Vector3 start, System.Vector3 end, int width, System color ) : void | ||
start | System.Vector3 | |
end | System.Vector3 | |
width | int | |
color | System | |
리턴 | void |
public static void DrawLineInWorld(Vector3 start, Vector3 end, int width, System.Drawing.Color color)
{
var from = Drawing.WorldToScreen(start);
var to = Drawing.WorldToScreen(end);
Drawing.DrawLine(from[0], from[1], to[0], to[1], width, color);
}