|
AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
The face style. 更多...
Public 成员函数 | |
| void | SetMaterial (Material^ material) |
| Material^ | GetMaterial () |
| void | SetTransparent (bool bEnable) |
| void | SetTransparecy (float alpha) |
| bool | IsTransparent () |
| void | SetTexture (int idx, Texture^ pTex) |
| Texture^ | GetTexture (int idx) |
Public 成员函数 继承自 AnyCAD::Platform::RenderStyle | |
| void | SetColor (ColorValue^ clr) |
| void | SetColor (int r, int g, int b) |
| ColorValue^ | GetColor () |
Public 成员函数 继承自 AnyCAD::Platform::Object | |
| String^ | GetObjectClassId () |
| StringList^ | ListParentClassIds () |
The face style.
TODO:
| Texture ^ AnyCAD::Platform::FaceStyle::GetTexture | ( | int | idx | ) |
| bool AnyCAD::Platform::FaceStyle::IsTransparent | ( | ) |
Is Transparent
| void AnyCAD::Platform::FaceStyle::SetMaterial | ( | Material^ | material | ) |
| void AnyCAD::Platform::FaceStyle::SetTexture | ( | int | idx, |
| Texture^ | pTex | ||
| ) |
Set texture.
| idx | the index of texture channel. |
| pTex | the texture. |
| void AnyCAD::Platform::FaceStyle::SetTransparecy | ( | float | alpha | ) |
Set transparency value
| alpha | the value [0, 1] 0: opaque 1: 100% transparent. |
| void AnyCAD::Platform::FaceStyle::SetTransparent | ( | bool | bEnable | ) |
Set Transparent
| bEnable | if true enable the transparent effect |
1.8.10