VertexDeclaration
개요
VertexDeclaration은(는) Aspose.3D FOSS에서 Python용 클래스입니다.
사용자 정의 정점 구조의 선언
이 클래스는 Python 프로그램의 VertexDeclaration 객체를 위해 5개의 메서드를 선언합니다. 사용 가능한 메서드에는 __init__, add_field, clear, compare_to, from_geometry가 포함됩니다. 모든 public 멤버는 Aspose.3D FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: count, sealed, size.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
sealed | bool | 읽기 | sealed를 가져옵니다. |
count | int | 읽기 | 카운트를 가져옵니다. |
size | int | 읽기 | 크기를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
__init__() | FOSS 에디션에서는 구현되지 않았으며 실행 시 예외가 발생합니다. Calls init 이 VertexDeclaration 인스턴스에서. |
clear() | FOSS 버전에서는 구현되지 않았으며 — 실행 시 예외를 발생시킵니다. 이 VertexDeclaration 인스턴스에서 clear를 호출합니다. |
add_field(data_type: 'VertexFieldDataType', semantic: 'VertexFieldSemantic', index: int, alias: str) → 'VertexField' | FOSS 버전에서는 구현되지 않았으며 — 실행 시 예외를 발생시킵니다. 사용자 정의 정점 레이아웃의 구성 요소를 정의하는 새로운 VertexField를 생성합니다 |
from_geometry(geometry: 'Geometry', use_float: bool) → 'VertexDeclaration' | FOSS 버전에서는 구현되지 않았으며—런타임에 예외를 발생시킵니다. 이 VertexDeclaration 인스턴스에서 from_geometry(geometry, use_float)를 호출합니다. |
compare_to(other: 'VertexDeclaration') → int | FOSS 버전에서는 구현되지 않았으며—런타임에 예외를 발생시킵니다. 이 VertexDeclaration 인스턴스에서 compare_to(other)를 호출합니다. |