Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 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);
 }