/// <summary> /// Draws a point in screen space. /// </summary> /// <param name="screenX"></param> /// <param name="screenY"></param> /// <returns></returns> public VisualLogPointEntry DrawPoint(float screenX, float screenY) { VisualLogPointEntry entry = new VisualLogPointEntry(); entry.Pos = new Vector3(screenX, screenY, 0.0f); this.Draw(entry); return(entry); }
/// <summary> /// Draws a point in world space. A point has no physical size and is displayed in the same size /// regardless of perspective settings or distance to the Camera. /// </summary> /// <param name="worldX"></param> /// <param name="worldY"></param> /// <param name="worldZ"></param> /// <returns></returns> public VisualLogPointEntry DrawPoint(float worldX, float worldY, float worldZ) { VisualLogPointEntry entry = new VisualLogPointEntry(); entry.Pos = new Vector3(worldX, worldY, worldZ); entry.Anchor = VisualLogAnchor.World; this.Draw(entry); return(entry); }