AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::PhongMaterial类 参考

The material with phong Algorithm. 更多...

类 AnyCAD::Platform::PhongMaterial 继承关系图:
AnyCAD::Platform::Material AnyCAD::Platform::RenderResource AnyCAD::Platform::Object

Public 成员函数

void SetAmbient (ColorValue^ clr)
 
ColorValueGetAmbient ()
 
void SetDiffuse (ColorValue^ clr)
 
ColorValueGetDiffuse ()
 
void SetSpecular (ColorValue^ clr)
 
ColorValueGetSpecular ()
 
void SetEmission (ColorValue^ clr)
 
ColorValueGetEmission ()
 
void SetShininess (float value)
 
float GetShininess ()
 
- Public 成员函数 继承自 AnyCAD::Platform::RenderResource
void SetName (String^ strName)
 
String^ GetName ()
 
- Public 成员函数 继承自 AnyCAD::Platform::Object
String^ GetObjectClassId ()
 
StringList^ ListParentClassIds ()
 

详细描述

The material with phong Algorithm.

TODO:

成员函数说明

ColorValue ^ AnyCAD::Platform::PhongMaterial::GetAmbient ( )

Get Ambient

返回
ColorValue
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetDiffuse ( )

Get Diffuse

返回
the color
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetEmission ( )

Get Emission

返回
the color
float AnyCAD::Platform::PhongMaterial::GetShininess ( )

Get Shininess

返回
float
ColorValue ^ AnyCAD::Platform::PhongMaterial::GetSpecular ( )

Get Specular

返回
the color
void AnyCAD::Platform::PhongMaterial::SetAmbient ( ColorValue clr)

Set Ambient

参数
clrthe color
返回
void
void AnyCAD::Platform::PhongMaterial::SetDiffuse ( ColorValue clr)

Set Diffuse

参数
clrthe color
返回
void
void AnyCAD::Platform::PhongMaterial::SetEmission ( ColorValue clr)

Set Emission

参数
clrthe color
返回
void
void AnyCAD::Platform::PhongMaterial::SetShininess ( float  value)

Set Shininess

参数
valuethe shininess
返回
void
void AnyCAD::Platform::PhongMaterial::SetSpecular ( ColorValue clr)

Set Specular

参数
clrthe color
返回
void

该类的文档由以下文件生成: