MorphTargetChannel

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_weightfloatقراءة/كتابةيحصل أو يضبط وزن القناة.
targets'list[Shape]'قراءةيحصل على الأهداف.
namestrقراءة/كتابةيحصل أو يعيّن الاسم.
propertiesPropertyCollectionقراءةيحصل على الخصائص.

الطرق

التوقيعوصف
__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.

انظر أيضاً

 العربية