VertexElementUV

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תיאור
DataIArrayList<FVector4>קריאהמקבל את הנתונים.
VertexElementTypeVertexElementTypeקריאהמקבל את הסוג של
Namestringקריאה/כתיבהמקבל או מגדיר את השם.
MappingModeMappingModeקריאה/כתיבהמקבל או מגדיר כיצד האלמנט ממופה.
ReferenceModeReferenceModeקריאה/כתיבהמקבל או מגדיר כיצד האלמנט מתייחס.
IndicesIArrayList<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()ייצוג מחרוזת של אלמנט קודקוד.

ראה גם

 עברית