|
wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
|
State for the reference grid overlay. More...
#include <bgi_types.h>
Data Fields | |
| bool | enabled {false} |
| int | gridColor {DARKGRAY} |
| colour for all non-axis grid lines | |
| int | halfExtent {4} |
| grid spans ±(halfExtent×spacing) from UCS origin | |
| float | spacing {25.f} |
| world units between adjacent grid lines | |
| std::string | ucsName |
| which UCS to use; empty = BgiState::activeUcs | |
| int | xAxisColor {RED} |
| colour for the line coincident with UCS local X axis | |
| int | yAxisColor {GREEN} |
| colour for the line coincident with UCS local Y axis | |
State for the reference grid overlay.
The grid is drawn in the XY plane of the active (or specified) UCS and projected through each camera that renders the scene. It is NOT a DDS object and cannot be selected or serialised.
| bool bgi::OverlayGridState::enabled {false} |
| int bgi::OverlayGridState::gridColor {DARKGRAY} |
colour for all non-axis grid lines
| int bgi::OverlayGridState::halfExtent {4} |
grid spans ±(halfExtent×spacing) from UCS origin
| float bgi::OverlayGridState::spacing {25.f} |
world units between adjacent grid lines
| std::string bgi::OverlayGridState::ucsName |
which UCS to use; empty = BgiState::activeUcs
| int bgi::OverlayGridState::xAxisColor {RED} |
colour for the line coincident with UCS local X axis
| int bgi::OverlayGridState::yAxisColor {GREEN} |
colour for the line coincident with UCS local Y axis