The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



TBeforeRenderPolygonEvent


Unit: SDL_plot3d
Class: none
Declaration: TBeforeRenderPolygonEvent = procedure (Sender: TObject; Canvas: TCanvas; var Handled: boolean; CellX, CellY: integer; quad: TQuad; var color: TColor) of object;

The TBeforeRenderPolygonEvent declares the event OnBeforeRenderPolygon which can be used to influence the appearance of individual quadrilaterals of the 3D surface.

Attention: This declaration has been changed with the introduction of release 10.1 of the SDL Suite: '...var Canvas...' has been replaced by '...Canvas...'. Please see the section How to Deal with a Canvas Reference Change for details.



Last Update: 2023-Feb-06