VertexElementVector4

VertexElementVector4

Tổng quan

VertexElementVector4 là một lớp trong Aspose.3D FOSS cho Java. Kế thừa từ: VertexElement.

Lớp này cung cấp 17 phương thức để làm việc với các đối tượng VertexElementVector4 trong các chương trình Java. Các phương thức khả dụng bao gồm: clear, clone, copyTo, getData, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setData, setIndices, setMappingMode, và 3 phương thức bổ sung. Tất cả các thành viên công khai đều có thể truy cập bởi bất kỳ ứng dụng Java nào sau khi cài đặt gói Aspose.3D FOSS cho Java. Thuộc tính: data, indices, mappingMode, name, referenceMode, vertexElementType.

Thuộc tính

TênKiểuTruy cậpMô tả
dataList<Vector4>ĐọcLấy dữ liệu.
vertexElementTypeVertexElementTypeĐọcLấy kiểu của phần tử đỉnh.
nameStringĐọcLấy tên của phần tử đỉnh.
mappingModeMappingModeĐọcLấy chế độ ánh xạ.
referenceModeReferenceModeĐọcLấy chế độ tham chiếu.
indicesList<Integer>ĐọcLấy danh sách các chỉ số.

Phương thức

Chữ kýMô tả
clone(withData: boolean, withIndices: boolean) → VertexElementGọi clone(withData, withIndices) trên đối tượng VertexElementVector4 này.
copyTo(target: VertexElementVector4)Gọi copyTo(target) trên đối tượng VertexElementVector4 này.
getData() → List<Vector4>Trả về dữ liệu.
setData(data: Vector4[])Đặt giá trị dữ liệu.
clear()Gọi clear trên đối tượng VertexElementVector4 này.
getVertexElementType() → VertexElementTypeLấy kiểu của phần tử đỉnh.
getName() → StringLấy tên của phần tử đỉnh.
setName(name: String)Đặt tên cho phần tử đỉnh.
getMappingMode() → MappingModeLấy chế độ ánh xạ.
setMappingMode(mappingMode: MappingMode)Đặt chế độ ánh xạ.
getReferenceMode() → ReferenceModeLấy chế độ tham chiếu.
setReferenceMode(referenceMode: ReferenceMode)Đặt chế độ tham chiếu.
getIndices() → List<Integer>Lấy danh sách chỉ mục.
setIndices(indices: int[])Đặt mảng chỉ mục.
clone(withData: boolean) → VertexElementSao chép phần tử đỉnh.
clone() → VertexElementSao chép phần tử đỉnh với cài đặt mặc định.
toString() → StringTrả về biểu diễn dạng chuỗi của phần tử đỉnh.

Xem thêm

 Tiếng Việt