VertexElementFVector
סיכום כללי
VertexElementFVector הוא כיתה ב Aspose.3D FOSS עבור פייטון. ירושה מ: VertexElement.
VertexElementFVector.set_data מחליף את רשימת הנתונים של האלמנט עם אוסף FVector4 המסופק.
כיתה זו מספקת 5 שיטות לעבודה עם אובייקטים VertexElementFVector בתוכניות Python. שיטות זמינות כוללות: __init__, clear, copy_to, set_data, set_indices. כל חברי הציבור נגישים לכל יישום Python לאחר התקנת חבילה Aspose.3D FOSS for Python. תכונות: data, indices, mapping_mode, name, reference_mode, vertex_element_type.
תכונות
| שם: | סוג: | Access | תיאור |
|---|---|---|---|
data | List['FVector4'] | קרא. | מקבל את הנתונים. |
indices | List[int] | קרא. | מקבל את האינדקסים. |
vertex_element_type | 'VertexElementType' | קרא. | מקבל את סוג רכיב הקודקוד. |
name | str | קריאה/כתיבה | מקבל או מגדיר את השם. |
mapping_mode | 'MappingMode' | קריאה/כתיבה | מקבל או מגדיר את מצב המיפוי. |
reference_mode | 'ReferenceMode' | קריאה/כתיבה | מקבל או מגדיר את מצב ההתייחסות. |
שיטות
| Signature | תיאור |
|---|---|
__init__(element_type, name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | |
set_data(data) | מגדיר את ערך הנתונים. |
set_indices(data: List[int]) | מגדיר את ערך האינדקסים. |
clear() | מסיר את כל נתונים ושיעורי אינדקס מהאלמנט. |
copy_to(target: 'VertexElementFVector') | העתק את הנתונים והאינדקסים של האלמנט הזה לתוך VertexElementFVector המטרה. |