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 זה.

ראה גם

 עברית