LambertMaterial

LambertMaterial

Yleiskatsaus

LambertMaterial on luokka Aspose.3D FOSS for Python. Perinnöllisyys on: Material.

LambertMaterial.emissive_color määrittelee RGB-värin, jonka materiaali näyttää säteilevän valona.

Tämä luokka tarjoaa 7 menetelmää työskennellä LambertMaterial esineiden kanssa Pythonin ohjelmissa. Saatavilla olevat menetelmät ovat: __init__, find_property, get_property, get_texture, remove_property, set_property, set_texture. Kaikki julkiset jäsenet ovat käytettävissä missä tahansa Python-sovelluksessa asennuksen jälkeen Aspose.3D FOSS for Pythonin paketin. Ominaisuuksia : ambient_color, diffuse_color, emissive_color, name, properties, transparency,Ja vielä yksi.

omaisuus

NimiätyyppiAccesskuvaus
emissive_color'Vector3'Lue / KirjoitaHakee tai asettaa emissiivisen värin.
ambient_color'Vector3'Lue / KirjoitaHakee tai asettaa ambient‑värin.
diffuse_color'Vector3'Lue / KirjoitaHakee tai asettaa diffuusivärin.
transparent_color'Vector3'Lue / KirjoitaHakee tai asettaa läpinäkyvän värin.
transparencyfloatLue / KirjoitaHakee tai asettaa läpinäkyvyyden.
namestrLue / KirjoitaHakee tai asettaa nimen.
propertiesPropertyCollectionLueHakee ominaisuudet.

menetelmät

Signaturekuvaus
__init__(name: str)
get_texture(slot_name: str)Ei toteutettu FOSS-julkaisussa - heittää ajoissa.
set_texture(slot_name: str, texture)Ei toteutettu FOSS-julkaisussa - heittää ajoissa. Määritä teksturiteetin arvo.
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)Asettaa ominaisuuden arvon.
remove_property(property)

Katso myös

 Suomi