internal override bool TessellateCore(IRenderPackage package) { if (base.TessellateCore(package)) { return(true); } Color c = (this.Color == null) ? Color.Yellow : this.Color; package.PushPointVertex(this.X, this.Y, this.Z); package.PushPointVertexColor(c.RedValue, c.GreenValue, c.BlueValue, c.AlphaValue); return(true); }
internal override bool TessellateCore(IRenderPackage package) { if (base.TessellateCore(package)) return true; Color c = (this.Color == null) ? Color.Yellow : this.Color; package.PushPointVertex(this.X, this.Y, this.Z); package.PushPointVertexColor(c.RedValue, c.GreenValue, c.BlueValue, c.AlphaValue); return true; }
public void Tessellate(IRenderPackage package, double tol = -1, int maxGridLines = 512) { // This example contains information to draw a point package.PushPointVertex(point.X, point.Y, point.Z); package.PushPointVertexColor(255, 0, 0, 255); }