VertexDeclaration
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable, java.lang.Comparable
public final class VertexDeclaration implements Iterable<VertexField>, Comparable<VertexDeclaration>
사용자 정의 정점 구조의 선언
생성자
| 생성자 | 설명 |
|---|---|
| VertexDeclaration() |
메서드
| 메서드 | 설명 |
|---|---|
| addField(int dataType, VertexFieldSemantic semantic) | 새 정점 필드를 추가합니다 |
| addField(int dataType, VertexFieldSemantic semantic, int index) | 새 정점 필드를 추가합니다 |
| addField(int dataType, VertexFieldSemantic semantic, int index, String alias) | 새 정점 필드를 추가합니다 |
| clear() | 모든 필드를 지웁니다. |
| compareTo(VertexDeclaration other) | 이 인스턴스를 지정된 객체와 비교하고, 상대적인 값에 대한 표시를 반환합니다. |
| equals(Object obj) | 이 인스턴스와 지정된 객체(또한 VertexDeclaration 객체여야 함)가 동일한 값을 갖는지 여부를 결정합니다. |
| fromGeometry(Geometry geometry, boolean useFloat) | Geometry의 레이아웃을 기반으로 VertexDeclaration을 생성합니다. |
| get(int index) | 인덱스로 VertexField을 가져옵니다 |
| getClass() | |
| getCount() | 이 VertexDeclaration에서 정의된 모든 필드의 개수를 가져옵니다 |
| getSealed() | TriMesh에 의해 사용된 후 VertexDeclaration은 봉인되며, 더 이상 수정이 허용되지 않습니다. |
| getSize() | 정점 구조의 바이트 단위 크기. |
| hashCode() | 이 문자열에 대한 해시 코드를 반환합니다. |
| iterator() | 이 인스턴스의 모든 정점 필드를 순회하는 열거자를 가져옵니다. |
| notify() | |
| notifyAll() | |
| toString() | VertexDeclaration의 문자열 표현 |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
VertexDeclaration()
public VertexDeclaration()
addField(int dataType, VertexFieldSemantic semantic)
public VertexField addField(int dataType, VertexFieldSemantic semantic)
새 정점 필드를 추가합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| dataType | int | 정점 필드의 데이터 유형 |
| semantic | VertexFieldSemantic | 이 필드는 어떻게 사용됩니까 |
Returns: VertexField
addField(int dataType, VertexFieldSemantic semantic, int index)
public VertexField addField(int dataType, VertexFieldSemantic semantic, int index)
새 정점 필드를 추가합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| dataType | int | 정점 필드의 데이터 유형 |
| semantic | VertexFieldSemantic | 이 필드는 어떻게 사용됩니까 |
| 인덱스 | int | 동일 필드 의미에 대한 인덱스, 자동 생성은 -1 |
Returns: VertexField
addField(int dataType, VertexFieldSemantic semantic, int index, String alias)
public VertexField addField(int dataType, VertexFieldSemantic semantic, int index, String alias)
새 정점 필드를 추가합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| dataType | int | 정점 필드의 데이터 유형 |
| semantic | VertexFieldSemantic | 이 필드는 어떻게 사용됩니까 |
| 인덱스 | int | 동일 필드 의미에 대한 인덱스, 자동 생성은 -1 |
| 별칭 | java.lang.String | 필드의 별칭 이름 |
Returns: VertexField
clear()
public void clear()
모든 필드를 지웁니다.
compareTo(VertexDeclaration other)
public int compareTo(VertexDeclaration other)
이 인스턴스를 지정된 객체와 비교하고, 상대적인 값에 대한 표시를 반환합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| other | VertexDeclaration |
Returns: int
equals(Object obj)
public boolean equals(Object obj)
이 인스턴스와 지정된 객체(또한 VertexDeclaration 객체여야 함)가 동일한 값을 갖는지 여부를 결정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
fromGeometry(Geometry geometry, boolean useFloat)
public static VertexDeclaration fromGeometry(Geometry geometry, boolean useFloat)
Geometry의 레이아웃을 기반으로 VertexDeclaration을 생성합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| geometry | Geometry | |
| useFloat | boolean | double 타입 대신 float 사용 |
Returns: VertexDeclaration
get(int index)
public VertexField get(int index)
인덱스로 VertexField을 가져옵니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 인덱스 | int |
Returns: VertexField - the VertexField by index
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public int getCount()
이 VertexDeclaration에서 정의된 모든 필드의 개수를 가져옵니다
Returns: int - 이 VertexDeclaration에서 정의된 모든 필드의 개수
getSealed()
public boolean getSealed()
TriMesh에 의해 사용된 후 VertexDeclaration은 봉인되며, 더 이상 수정이 허용되지 않습니다.
Returns: boolean - VertexDeclaration은 TriMesh에 사용되면 봉인되며, 더 이상 수정할 수 없습니다.
getSize()
public int getSize()
정점 구조의 바이트 단위 크기.
Returns: int - 정점 구조체의 바이트 단위 크기.
hashCode()
public int hashCode()
이 문자열에 대한 해시 코드를 반환합니다.
Returns: int - 32비트 부호 있는 정수 해시 코드.
iterator()
public Iterator<VertexField> iterator()
이 인스턴스의 모든 정점 필드를 순회하는 열거자를 가져옵니다.
Returns: java.util.Iterator<com.aspose.threed.VertexField> - 열거자
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
VertexDeclaration의 문자열 표현
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long | |
| arg1 | int |