The face style.
更多...
#include <APIFaceStyle.h>
Material AnyCAD::API::FaceStyle::GetMaterial |
( |
| ) |
const |
Texture AnyCAD::API::FaceStyle::GetTexture |
( |
int |
idx | ) |
const |
bool AnyCAD::API::FaceStyle::IsTransparent |
( |
| ) |
const |
void AnyCAD::API::FaceStyle::SetMaterial |
( |
const Material & |
material | ) |
|
Set Material
- 参数
-
material | the material data |
- 返回
- void
void AnyCAD::API::FaceStyle::SetTexture |
( |
int |
idx, |
|
|
const Texture & |
pTex |
|
) |
| |
Set texture.
- 参数
-
idx | the index of texture channel. |
pTex | the texture. |
void AnyCAD::API::FaceStyle::SetTransparecy |
( |
const float & |
alpha | ) |
|
Set transparency value
- 参数
-
alpha | the value [0, 1] 0: opaque 1: 100% transparent. |
void AnyCAD::API::FaceStyle::SetTransparent |
( |
bool |
bEnable | ) |
|
Set Transparent
- 参数
-
bEnable | if true enable the transparent effect |
该类的文档由以下文件生成: