VertexDeclaration

VertexDeclaration

개요

VertexDeclaration은 Aspose.3D FOSS에서 TypeScript을 위한 클래스입니다.

VertexDeclaration.constructor는 새로운 빈 정점 선언을 생성합니다.

이 클래스는 TypeScript 프로그램에서 VertexDeclaration 객체를 위해 6개의 메서드를 선언합니다. 사용 가능한 메서드에는 addField, clear, compareTo, constructor, fromGeometry, getField가 포함됩니다. 공개 멤버는 Aspose.3D FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: count, sealed, size.

속성

이름유형액세스설명
sealedboolean읽기sealed를 가져옵니다.
countnumber읽기카운트를 가져옵니다.
sizenumber읽기크기를 가져옵니다.

메서드

시그니처설명
constructor()새로운 빈 버텍스 선언을 생성합니다
clear()선언에서 모든 필드를 제거합니다.
addField(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, index: number, alias: string) → VertexFieldtype, semantic, index, alias를 가진 필드를 추가하고, VertexField을 반환합니다.
fromGeometry(_geometry: any, _useFloat: boolean) → VertexDeclarationFOSS 에디션에서는 구현되지 않았으며 — 런타임 시 예외를 발생시킵니다. 기하학 데이터에서 선언을 구축하며, 선택적으로 부동소수점 정밀도를 사용할 수 있습니다.
compareTo(other: VertexDeclaration) → number이 선언을 다른 선언과 비교하고 정렬 번호를 반환합니다.
getField(index: number) → VertexField지정된 인덱스에 있는 필드를 반환합니다.

참조

 한국어