VertexElementUV
개요
VertexElementUV 파이썬의 Aspose.3D FOSS에서 클래스입니다. 다음의 사람으로부터 유산을 받은 경우: VertexElementFVector.
VertexElementUV.texture_mapping는 UV 요소의 질감 매핑 모드를 얻거나 설정합니다.
이 클래스는 파이썬 프로그램에서 VertexElementUV 객체와 작업하는 6가지 방법을 제공합니다. 이용 가능한 방법에는 다음이 포함됩니다.: __init__, add_data, clear, copy_to, set_data, set_indices. 모든 퍼블릭 멤버들은 파이썬 패키지 Aspose.3D FOSS를 설치한 후, 어떤 파이톤 애플리케이션에도 접근할 수 있습니다. 성질: data, indices, mapping_mode, name, reference_mode, texture_mapping,그리고 1개 더.
속성
| 이름 | 유형 | Access | 설명 |
|---|---|---|---|
texture_mapping | 'TextureMapping' | 읽으세요. | 텍스처 매핑을 가져옵니다. |
data | List['FVector4'] | 읽으세요. | 데이터를 가져옵니다. |
indices | List[int] | 읽으세요. | 인덱스를 가져옵니다. |
vertex_element_type | 'VertexElementType' | 읽으세요. | 정점 요소 유형을 가져옵니다. |
name | str | 읽기/쓰기 | 이름을 가져오거나 설정합니다. |
mapping_mode | 'MappingMode' | 읽기/쓰기 | 매핑 모드를 가져오거나 설정합니다. |
reference_mode | 'ReferenceMode' | 읽기/쓰기 | 참조 모드를 가져오거나 설정합니다. |
메서드
| Signature | 설명 |
|---|---|
__init__(texture_mapping: 'TextureMapping', name: str, mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') | |
add_data(data) | UV 좌표 데이터를 꼭짓점 요소에 추가합니다. |
set_data(data) | 데이터 값을 설정합니다. |
set_indices(data: List[int]) | 인덱스 값을 설정합니다. |
clear() | |
copy_to(target: 'VertexElementFVector') |