MaterialShadingMode()
语法
MaterialShadingMode(#Material, Mode)概要
Changes the #Material shading mode.
参数
#Material The material to use. Mode It can be one of the following value: #PB_Material_Flat : The material use the flat mode, the lighting is done face by face. #PB_Material_Gouraud : Performs a shading using the Gouraud algorithm (default). #PB_Material_Phong : Performs a shading using the Phong algorithm.combined with one of the following value:#PB_Material_Solid : The material will be rendered in solid, textured mode (default). #PB_Material_Wireframe: The material will be rendered in wireframe mode. #PB_Material_Point : The material will be rendered using only edge points.
返回值
无.
Remarks
To get the current material shading mode, use GetMaterialAttribute().
参阅
GetMaterialAttribute()
已支持操作系统
所有