LambertMaterial

LambertMaterial

ภาพรวม

LambertMaterial เป็นคลาสใน Aspose.3D FOSS สําหรับ Python. ทายาทจาก: Material.

LambertMaterial.emissive_color กําหนดสี RGB ที่วัสดุปรากฏว่าปล่อยแสง.

หมวดนี้ให้ 7 วิธีในการทํางานกับวัตถุ LambertMaterial ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: __init__, find_property, get_property, get_texture, remove_property, set_property, set_texture. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: ambient_color, diffuse_color, emissive_color, name, properties, transparency,และอีก 1 ใบ.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
emissive_color'Vector3'อ่าน/เขียนรับหรือกำหนดสีเรืองแสง.
ambient_color'Vector3'อ่าน/เขียนรับหรือกำหนดสีแสงรอบแวดล้อม.
diffuse_color'Vector3'อ่าน/เขียนรับหรือกำหนดสีกระจายแสง.
transparent_color'Vector3'อ่าน/เขียนรับหรือกำหนดสีโปร่งใส.
transparencyfloatอ่าน/เขียนรับหรือกำหนดความโปร่งใส.
namestrอ่าน/เขียนรับหรือกำหนดชื่อ.
propertiesPropertyCollectionอ่านรับคุณสมบัติ.

วิธีการ

Signatureคําอธิบาย
__init__(name: str)
get_texture(slot_name: str)ไม่ถูกนําไปใช้ใน FOSS edition throws ในเวลาทํางาน.
set_texture(slot_name: str, texture)ไม่ถูกนําไปใช้ใน FOSS edition throws ในเวลาทํางาน. กําหนดค่าของเนื้อผิว.
find_property(property_name: str)
get_property(property: str)
set_property(property: str, value)ตั้งค่าคุณสมบัติ.
remove_property(property)

ดูเช่นกัน

 ภาษาไทย