Maths.BarChart2D

public sealed class Maths.BarChart2D

Constructors

BarChart2D

#
public BarChart2D(double[,] grid, Color[,] diffuse)
grid (double[,])
diffuse (Color[,])

Methods

ToMesh

#
public Mesh ToMesh(bool diffuse, bool shade, CancellationToken token)
Create a histogram mesh representing the data in this instance. The bar grid has unit dimensions, and is anchored to the world origin.
diffuse (bool)True to apply colours.
shade (bool)True to apply shading. This only makes sense if diffuse is also true.
token (CancellationToken)Cancellation token.
A mesh representing the bar-grap.