BindPoint
סקירה כללית
BindPoint הוא שיעור ב Aspose.3D FOSS עבור Python. מורשת מ : A3DObject.
BindPoint.add_channel adds a new animation channel with the specified name, value and type, returning True on success.
שיעור זה מספק 13 שיטות לעבוד עם אובייקטים BindPoint בתוכניות Python. שיטות זמינות כוללות: __init__, add_channel, bind_keyframe_sequence, channels_count, create_keyframe_sequence, find_property, get_channel, get_keyframe_sequence, get_property, property, remove_property, reset_channels,ועוד 1 שיטות נוספות. כל החברים הציבוריים זמינים לכל יישום Python לאחר התקנת Aspose.3D FOSS עבור חבילת Python. רכוש : name, properties.
נכסים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
name | str | קרא / כתיבה | מקבל או קובע את השם. |
properties | `` | קראו | מקבל את הנכסים. |
שיטות
| חתימה | תיאור |
|---|---|
__init__(scene: 'Scene', prop: 'Property') | |
add_channel(name: str, value: Any, type) → bool | הוספת ערוץ אנימציה חדש עם השם, הערך והטופס שנקבעו, ומחזירה את True על הצלחה. |
get_keyframe_sequence(channel_name: str) → 'KeyframeSequence' | החזיר את KeyframeSequence הקשורים לשם הערוץ שניתן |
create_keyframe_sequence(name: str) → 'KeyframeSequence' | יצירת ומחזירה KeyframeSequence חדש המזהה על ידי השם שניתן |
bind_keyframe_sequence(channel_name: str, sequence: 'KeyframeSequence') | קישורים לתוך ערוץ האנימציה שנקרא KeyframeSequence |
get_channel(channel_name: str) → 'AnimationChannel' | מחזיר את האובייקט AnimationChannel עבור שם הערוץ הניתן |
reset_channels() | להסיר את כל הערוצים ואת הקשרים שלהם מה BindPoint |
property() → 'Property' | החזיר את הקבלה של הנכס הקשורים לזה BindPoint |
channels_count() → int | החזיר את מספר ערוצי האנימציה שנקבעו כעת |
find_property(property_name: str) | |
get_property(property: str) | |
set_property(property: str, value) | להגדיר את הערך של הנכס. |
remove_property(property) |