AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
场景的全局设置 更多...
Public 成员函数 | |
ColorValue^ | GetTopColor () |
void | SetTopColor (ColorValue^ clr) |
ColorValue^ | GetMiddleColor () |
void | SetMiddleColor (ColorValue^ clr) |
ColorValue^ | GetBottomColor () |
void | SetBottomColor (ColorValue^ clr) |
void | SetHighlightColor (ColorValue^ clr) |
ColorValue^ | GetHighlightColor () |
void | SetSelectedColor (ColorValue^ clr) |
ColorValue^ | GetSelectedColor () |
void | SetSelectedPointSize (Real ptSize) |
Real | GetSelectedPointSize () |
void | SetSelectedLineWidth (Real width) |
Real | GetSelectedLineWidth () |
场景的全局设置
设置场景的全局状态,包括背景色、选择颜色等。
ColorValue ^ AnyCAD::Platform::SceneEnvironment::GetBottomColor | ( | ) |
获取背景的底部颜色
ColorValue ^ AnyCAD::Platform::SceneEnvironment::GetHighlightColor | ( | ) |
获取预选模型的高亮颜色。
ColorValue ^ AnyCAD::Platform::SceneEnvironment::GetMiddleColor | ( | ) |
获取背景的中部颜色
ColorValue ^ AnyCAD::Platform::SceneEnvironment::GetSelectedColor | ( | ) |
获取选择模型的颜色.
Real AnyCAD::Platform::SceneEnvironment::GetSelectedLineWidth | ( | ) |
获取选择的线的线宽。
Real AnyCAD::Platform::SceneEnvironment::GetSelectedPointSize | ( | ) |
获取选中的点显示的像素大小。
ColorValue ^ AnyCAD::Platform::SceneEnvironment::GetTopColor | ( | ) |
获取背景的顶部颜色。
void AnyCAD::Platform::SceneEnvironment::SetBottomColor | ( | ColorValue^ | clr | ) |
设置背景的底部颜色。
clr | 颜色 |
void AnyCAD::Platform::SceneEnvironment::SetHighlightColor | ( | ColorValue^ | clr | ) |
设置预选模型的高亮颜色。
clr | 颜色 |
void AnyCAD::Platform::SceneEnvironment::SetMiddleColor | ( | ColorValue^ | clr | ) |
设置背景的中部颜色
clr | 颜色 |
void AnyCAD::Platform::SceneEnvironment::SetSelectedColor | ( | ColorValue^ | clr | ) |
设置选择模型的颜色。
clr | 颜色。 |
void AnyCAD::Platform::SceneEnvironment::SetSelectedLineWidth | ( | Real | width | ) |
设置选择的线的线宽。
width | 线宽。 |
void AnyCAD::Platform::SceneEnvironment::SetSelectedPointSize | ( | Real | ptSize | ) |
设置选中的点的像素大小,范围[1, 16]
ptSize | 像素值. |
void AnyCAD::Platform::SceneEnvironment::SetTopColor | ( | ColorValue^ | clr | ) |
设置背景的顶部颜色
clr | 颜色 |