Fusion.Engine.Graphics.DebugLayer.DrawWaypoint C# (CSharp) 메소드

DrawWaypoint() 공개 메소드

public DrawWaypoint ( System.Vector3 p, float size, Color color ) : void
p System.Vector3
size float
color Color
리턴 void
		public void DrawWaypoint(Vector3 p, float size, Color color)
		{
			float h = size / 2;	// half size
			DrawLine(p + Vector3.UnitX * h, p - Vector3.UnitX * h, color);
			DrawLine(p + Vector3.UnitZ * h, p - Vector3.UnitZ * h, color);
		}