VertexElementUV
סקירה
VertexElementUV היא מחלקה ב-Aspose.3D FOSS עבור .NET. יורש מ: VertexElementFVector, IIndexedVertexElement.
מגדירה את קואורדינטות ה-UV לרכיבים שצוינו.
מחלקה זו מספקת 9 שיטות לעבודה עם אובייקטי VertexElementUV בתוכניות .NET. השיטות הזמינות כוללות: AddData, Clear, CopyTo, SetData, SetIndices, ToString, VertexElementUV. כל החברים הציבוריים זמינים לכל יישום .NET לאחר התקנת חבילת Aspose.3D FOSS עבור .NET. תכונות: Data, Indices, MappingMode, Name, ReferenceMode, VertexElementType.
מאפיינים
| שם | סוג | Access | תיאור |
|---|---|---|---|
Data | IArrayList<FVector4> | קריאה | מקבל את הנתונים. |
VertexElementType | VertexElementType | קריאה | מקבל את הסוג של |
Name | string | קריאה/כתיבה | מקבל או מגדיר את השם. |
MappingMode | MappingMode | קריאה/כתיבה | מקבל או מגדיר כיצד האלמנט ממופה. |
ReferenceMode | ReferenceMode | קריאה/כתיבה | מקבל או מגדיר כיצד האלמנט מתייחס. |
Indices | IArrayList<int> | קריאה | מקבל את נתוני האינדקסים |
שיטות
| Signature | תיאור |
|---|---|
VertexElementUV() | מאתחל מופע חדש של המחלקה VertexElementUV. |
VertexElementUV(textureMapping: TextureMapping) | מאתחל מופע חדש של המחלקה VertexElementUV. |
AddData(data: IEnumerable<Vector2>) | קורא ל-AddData(data) על מופע VertexElementUV זה. |
AddData(data: IEnumerable<Vector3>) | קורא ל-AddData(data) על מופע VertexElementUV זה. |
CopyTo(target: VertexElementFVector) | מעתיק נתונים לאלמנט שצוין |
SetData(data: FVector4[]) | מגדיר את הנתונים |
Clear() | מסיר את כל האיברים מהמערכים הישיר והאינדקס. |
SetIndices(data: int[]) | מגדיר את נתוני האינדקסים |
ToString() | ייצוג מחרוזת של אלמנט קודקוד. |