AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
The material with phong Algorithm. 更多...
Public 成员函数 | |
void | SetAmbient (ColorValue^ clr) |
ColorValue^ | GetAmbient () |
void | SetDiffuse (ColorValue^ clr) |
ColorValue^ | GetDiffuse () |
void | SetSpecular (ColorValue^ clr) |
ColorValue^ | GetSpecular () |
void | SetEmission (ColorValue^ clr) |
ColorValue^ | GetEmission () |
void | SetShininess (float value) |
float | GetShininess () |
![]() | |
void | SetName (String^ strName) |
String^ | GetName () |
![]() | |
String^ | GetObjectClassId () |
StringList^ | ListParentClassIds () |
The material with phong Algorithm.
TODO:
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetAmbient | ( | ) |
Get Ambient
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetDiffuse | ( | ) |
Get Diffuse
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetEmission | ( | ) |
Get Emission
float AnyCAD::Platform::PhongMaterial::GetShininess | ( | ) |
Get Shininess
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetSpecular | ( | ) |
Get Specular
void AnyCAD::Platform::PhongMaterial::SetAmbient | ( | ColorValue^ | clr | ) |
Set Ambient
clr | the color |
void AnyCAD::Platform::PhongMaterial::SetDiffuse | ( | ColorValue^ | clr | ) |
Set Diffuse
clr | the color |
void AnyCAD::Platform::PhongMaterial::SetEmission | ( | ColorValue^ | clr | ) |
Set Emission
clr | the color |
void AnyCAD::Platform::PhongMaterial::SetShininess | ( | float | value | ) |
Set Shininess
value | the shininess |
void AnyCAD::Platform::PhongMaterial::SetSpecular | ( | ColorValue^ | clr | ) |
Set Specular
clr | the color |