PhongMaterial
Oversigt over de forskellige former for støtte
PhongMaterial er en klasse i Aspose.3d for Python. Arvelige af: LambertMaterial.
PhongMaterial.specular_color defines the RGB color of the specular highlight.
Egenskaber
| Name | Type | Access | Description |
|---|---|---|---|
specular_color | 'Vector3' | Read/Write | Gets or sets the specular color. |
specular_factor | float | Read/Write | Gets or sets the specular factor. |
shininess | float | Read/Write | Gets or sets the shininess. |
reflection_color | 'Vector3' | Read/Write | Gets or sets the reflection color. |
reflection_factor | float | Read/Write | Gets or sets the reflection factor. |
emissive_color | 'Vector3' | Read/Write | Gets or sets the emissive color. |
ambient_color | 'Vector3' | Read/Write | Gets or sets the ambient color. |
diffuse_color | 'Vector3' | Read/Write | Gets or sets the diffuse color. |
transparent_color | 'Vector3' | Read/Write | Gets or sets the transparent color. |
transparency | float | Read/Write | Gets or sets the transparency. |
name | str | Read/Write | Gets or sets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Metoder til at anvende
| Signature | Description |
|---|---|
__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) |