PhongMaterial

General

PhongMaterial is a class in Aspose.3d for Python. Inherits from: LambertMaterial.

PhongMaterial és una classe en Aspose.3d per a Python. Hereta de: ゚LambertMaterial⌒ .

PhongMaterial.specular_color defineix el color RGB del punt destacat especular.

Propietats

NameTypeAccessDescription
specular_color'Vector3'Read/WriteGets or sets the specular color.
specular_factorfloatRead/WriteGets or sets the specular factor.
shininessfloatRead/WriteGets or sets the shininess.
reflection_color'Vector3'Read/WriteGets or sets the reflection color.
reflection_factorfloatRead/WriteGets or sets the reflection factor.
emissive_color'Vector3'Read/WriteGets or sets the emissive color.
ambient_color'Vector3'Read/WriteGets or sets the ambient color.
diffuse_color'Vector3'Read/WriteGets or sets the diffuse color.
transparent_color'Vector3'Read/WriteGets or sets the transparent color.
transparencyfloatRead/WriteGets or sets the transparency.
namestrRead/WriteGets or sets the name.
propertiesPropertyCollectionReadGets the properties.

Mètodes

SignatureDescription
__init__(name: str)
get_texture(slot_name: str)Not implemented in the FOSS edition — throws at runtime.
set_texture(slot_name: str, texture)Not implemented in the FOSS edition — throws at runtime. Sets the texture value.
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)Sets the property value.
remove_property(property)
__init__(name: str)
 Català