Vertex
개요
Vertex은(는) Aspose.3D FOSS에서 TypeScript을(를) 위한 클래스입니다.
Vertex.constructor은(는) ArrayBuffer, 오프셋, 필드 선언 및 정점 크기를 사용하여 정점을 생성합니다.
이 클래스는 TypeScript 프로그램의 Vertex 객체를 위해 11개의 메서드를 선언합니다. 사용 가능한 메서드에는 compare, compareTo, constructor, readDouble, readFVector2, readFVector3, readFVector4, readFloat, readVector2, readVector3, readVector4가 포함됩니다. 공개 멤버는 Aspose.3D FOSS for TypeScript 패키지를 설치한 후 any TypeScript 애플리케이션에서 접근할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
constructor(data: ArrayBuffer, offset: number, declaration: VertexField[], vertexSize: number) | 정점을 ArrayBuffer, 오프셋, 필드 선언 및 정점 크기를 사용하여 생성합니다 |
compare(other: Vertex) → number | 이 정점과 다른 정점 사이의 수치 순서 비교 결과를 반환합니다 |
compareTo(other: Vertex) → number | 이 정점이 다른 정점에 대해 갖는 순서를 나타내는 수치 값을 반환합니다 |
readVector4(field: VertexField) → Vector4 | 지정된 정점 필드에서 Vector4 값을 읽어옵니다 |
readFVector4(field: VertexField) → FVector4 | 지정된 정점 필드에서 FVector4 값을 읽습니다. |
readVector3(field: VertexField) → Vector3 | 지정된 정점 필드에서 Vector3 값을 읽습니다. |
readFVector3(field: VertexField) → FVector3 | 지정된 정점 필드에서 FVector3 값을 읽습니다. |
readVector2(field: VertexField) → Vector2 | 지정된 정점 필드에서 Vector2 값을 읽습니다. |
readFVector2(field: VertexField) → FVector2 | 지정된 정점 필드에서 FVector2 값을 읽습니다 |
readDouble(field: VertexField) → number | 지정된 정점 필드에서 배정밀도 숫자를 읽습니다 |
readFloat(field: VertexField) → number | 지정된 정점 필드에서 단정밀도 숫자를 읽습니다 |