LambertMaterial

LambertMaterial

Overview

LambertMaterial 是Python的Aspose.3D FOSS中的一个类. 继承人: Material.

LambertMaterial.emissive_color defines the RGB color that the material appears to emit as light.

这个类提供了在Python程序中与LambertMaterial对象工作的7种方法. 有的方法包括: __init__, find_property, get_property, get_texture, remove_property, set_property, set_texture. 在安装Python包的Aspose.3D FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: ambient_color, diffuse_color, emissive_color, name, properties, transparency,另外一个.

Properties

NameTypeAccessDescription
emissive_color'Vector3'阅读/写作得到或设置发射颜色.
ambient_color'Vector3'阅读/写作获取或设置环境颜色.
diffuse_color'Vector3'阅读/写作得到或设置了散发色.
transparent_color'Vector3'阅读/写作得到或设置透明色.
transparencyfloat阅读/写作获得或设置透明度.
namestr阅读/写作得到或设置名字.
propertiesPropertyCollectionRead得到了房地产.

Methods

SignatureDescription
__init__(name: str)
get_texture(slot_name: str)在FOSS版本中未实现. 在运行时投放.
set_texture(slot_name: str, texture)在FOSS版本中未实现. 在运行时投放. 设置质量值.
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)设置物业值.
remove_property(property)

See Also

 中文