Version: 2018.4
public static void DrawAAPolyLine (params Vector3[] points);
public static void DrawAAPolyLine (float width, params Vector3[] points);
public static void DrawAAPolyLine (Texture2D lineTex, params Vector3[] points);
public static void DrawAAPolyLine (float width, int actualNumberOfPoints, params Vector3[] points);
public static void DrawAAPolyLine (Texture2D lineTex, float width, params Vector3[] points);

パラメーター

lineTexThe AA texture used for rendering.
width線の幅
pointsラインを構築するためのポイントのリスト

説明

位置の配列と幅で指定したアンチエイリアスのかかった線を描きます。

注意: 画面サイズに対して固定サイズのハンドルを持ちたい場合、HandleUtility.GetHandleSize を使用します。

Note: To get an anti-aliased effect use a texture that is 1x2 pixels with one transparent white pixel and one opaque white pixel.


Anti-Aliased line in the Scene View.