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:

パラメーター説明
dataTypeint頂点フィールドのデータ型
semanticVertexFieldSemanticこのフィールドは何に使用されますか

Returns: VertexField

addField(int dataType, VertexFieldSemantic semantic, int index)

public VertexField addField(int dataType, VertexFieldSemantic semantic, int index)

新しい頂点フィールドを追加する

Parameters:

パラメーター説明
dataTypeint頂点フィールドのデータ型
semanticVertexFieldSemanticこのフィールドは何に使用されますか
インデックス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:

パラメーター説明
dataTypeint頂点フィールドのデータ型
semanticVertexFieldSemanticこのフィールドは何に使用されますか
インデックスint同一フィールドのセマンティックのインデックス、-1 は自動生成です
エイリアスjava.lang.Stringフィールドのエイリアス名

Returns: VertexField

clear()

public void clear()

すべてのフィールドをクリアする。

compareTo(VertexDeclaration other)

public int compareTo(VertexDeclaration other)

このインスタンスを指定されたオブジェクトと比較し、相対的な値の指標を返します。

Parameters:

パラメーター説明
otherVertexDeclaration

Returns: int

equals(Object obj)

public boolean equals(Object obj)

このインスタンスと、指定されたオブジェクト(これも VertexDeclaration オブジェクトである必要があります)が同じ値かどうかを判断します。

Parameters:

パラメーター説明
objjava.lang.Object

Returns: boolean

fromGeometry(Geometry geometry, boolean useFloat)

public static VertexDeclaration fromGeometry(Geometry geometry, boolean useFloat)

Geometry のレイアウトに基づいて VertexDeclaration を作成します。

Parameters:

パラメーター説明
geometryGeometry
useFloatbooleandouble 型の代わりに 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 - VertexDeclarationTriMesh に使用されるとシールされ、これ以上の変更は許可されません。

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:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int