[ILNumerics Drawing2 Toolbox]
Namespace: ILNumerics.Drawing.Plotting
Assembly: ILNumerics.Toolboxes.Drawing2 (in ILNumerics.Toolboxes.Drawing2.dll) Version: 5.5.0.0 (5.5.7503.3146)
Property Value
Type: NullableBooleanBy default, BarPlot utilizes lighting for 2D bars only. Light gives the bars a highlighting effect and improves the niceness of the bars. However, since BarPlot focusses on fast rendering, such lighting brings certain limitations for sophisticated 3D bars (Draw3D). In order to achieve good performance, such 3D bars are not optimized for perfect lighting. Hence, lighting is disabled for BarPlot in 3D mode by default.
One can overwrite this default behavior by assigning an explicit boolean value to UseLighting. This affects all bars, regardless if rendered in 2D or 3D mode.
See BarPlotEx for creating bar plots which focus on nice colors and lighting in 3D mode.
[ILNumerics Drawing2 Toolbox]