MorphTargetChannel

MorphTargetChannel

Gambaran Umum

MorphTargetChannel adalah kelas dalam Aspose.3D FOSS untuk Python. Mewarisi dari: A3DObject.

MorphTargetChannel.get_weight(target) mengembalikan nilai berat untuk target morph tertentu.

Kelas ini mendeklarasikan 9 metode untuk objek MorphTargetChannel dalam program Python. Metode yang tersedia meliputi: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Semua anggota publik dapat diakses oleh aplikasi Python mana pun setelah memasang paket Aspose.3D FOSS untuk Python. Properti: channel_weight, name, properties, targets, weights.

Properti

NamaJenisAksesDeskripsi
weights'list[float]'BacaMendapatkan bobot.
channel_weightfloatBaca/TulisMendapatkan atau mengatur bobot saluran.
targets'list[Shape]'BacaMendapatkan target.
namestrBaca/TulisMendapatkan atau mengatur nama.
propertiesPropertyCollectionBacaMendapatkan properti.

Metode

Tanda TanganDeskripsi
__init__(name: str)Calls init(name) pada instance MorphTargetChannel ini.
get_weight(target: 'Shape') → floatMengembalikan berat saat ini untuk target morph yang ditentukan, dan set_weight(target, weight) memperbaruinya.
set_weight(target: 'Shape', weight: float)Mengatur nilai bobot.
get_weight(index: int) → floatMemanggil get_weight(index) pada instance MorphTargetChannel ini.
set_weight(index: int, weight: float)Mengatur nilai bobot.
find_property(property_name: str)Memanggil find_property(property_name) pada instance MorphTargetChannel ini.
get_property(property: str)Memanggil get_property(property) pada instance MorphTargetChannel ini.
set_property(property: str, value)Mengatur nilai properti.
remove_property(property)Memanggil remove_property(property) pada instance MorphTargetChannel ini.

Lihat Juga

 Bahasa Indonesia