VertexElementWeight

VertexElementWeight

Tổng quan

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

VertexElementWeight.setData(List) gán các giá trị trọng lượng cho các đỉnh cho các thao tác skinning.

Lớp này cung cấp 18 phương thức để làm việc với các đối tượng VertexElementWeight trong các chương trình Java. Các phương thức khả dụng bao gồm: VertexElementWeight, clear, clone, copyTo, getData, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setData, setIndices, và 4 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ả
vertexElementTypeVertexElementTypeĐọcLấy kiểu phần tử đỉnh.
dataList<Double>ĐọcLấy dữ liệu.
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ả
VertexElementWeight()Gọi VertexElementWeight trên đối tượng VertexElementWeight này.
getVertexElementType() → VertexElementTypeTrả về kiểu phần tử đỉnh.
clear()Gọi clear trên instance VertexElementWeight này.
clone(withData: boolean, withIndices: boolean) → VertexElementGọi clone(withData, withIndices) trên instance VertexElementWeight này.
copyTo(target: VertexElementDoublesTemplate)Gọi copyTo(target) trên instance VertexElementWeight này.
getData() → List<Double>Trả về dữ liệu.
setData(data: double[])Đặt giá trị dữ liệu.
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 các chỉ số.
setIndices(indices: int[])Đặt mảng chỉ số.
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ề một biểu diễn dạng chuỗi của phần tử đỉnh.

Xem thêm

 Tiếng Việt