MorphTargetChannel
نظرة عامة
MorphTargetChannel هي فئة في Aspose.3D FOSS لـ Python. تورث من: A3DObject.
MorphTargetChannel.get_weight(target) تُرجع قيمة الوزن لهدف morph محدد.
تعلن هذه الفئة عن 9 طرق لكائنات MorphTargetChannel في برامج Python. تشمل الطرق المتاحة: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. جميع الأعضاء العامة يمكن الوصول إليها من أي تطبيق Python بعد تثبيت حزمة Aspose.3D FOSS لـ Python. الخصائص: channel_weight, name, properties, targets, weights.
خصائص
| اسم | النوع | الوصول | وصف |
|---|---|---|---|
weights | 'list[float]' | قراءة | يحصل على الأوزان. |
channel_weight | float | قراءة/كتابة | يحصل أو يضبط وزن القناة. |
targets | 'list[Shape]' | قراءة | يحصل على الأهداف. |
name | str | قراءة/كتابة | يحصل أو يعيّن الاسم. |
properties | PropertyCollection | قراءة | يحصل على الخصائص. |
الطرق
| التوقيع | وصف |
|---|---|
__init__(name: str) | Calls init(name) على هذا MorphTargetChannel مثيل. |
get_weight(target: 'Shape') → float | يعيد الوزن الحالي للهدف التشكيلي المحدد، و set_weight(target, weight) يُحدّثه |
set_weight(target: 'Shape', weight: float) | يضبط قيمة الوزن. |
get_weight(index: int) → float | يستدعي get_weight(index) على هذا MorphTargetChannel مثيل. |
set_weight(index: int, weight: float) | يضبط قيمة الوزن. |
find_property(property_name: str) | يستدعي find_property(property_name) على هذا المثيل MorphTargetChannel. |
get_property(property: str) | يستدعي get_property(property) على هذا المثيل MorphTargetChannel. |
set_property(property: str, value) | يضبط قيمة الخاصية. |
remove_property(property) | يستدعي remove_property(property) على هذه المثيلة من MorphTargetChannel. |