/// <summary> /// /// </summary> /// <param name="drawComplete"></param> public void ResetCompleteDrawEvent(DrawCompleteHandeler drawComplete) { this.drawComplete -= drawComplete; }
/// <summary> /// /// </summary> /// <param name="drawComplete"></param> public void SetCompleteDrawEvent(DrawCompleteHandeler drawComplete) { this.drawComplete = null; this.drawComplete += drawComplete; }
/// <summary> /// /// </summary> /// <param name="drawMode"></param> /// <param name="drawComplete"></param> public void CreateGeometry(DrawMode drawMode, DrawCompleteHandeler drawComplete) { SetCompleteDrawEvent(drawComplete); continuousMode = false; SetDrawMode(drawMode); }