VertexElementUV

Inheritance: java.lang.Object, com.aspose.threed.VertexElement, com.aspose.threed.VertexElementVector4

public class VertexElementUV extends VertexElementVector4

指定されたコンポーネントのUV座標を定義します。ジオメトリは複数のVertexElementUV要素を持つことができ、各要素は異なるTextureMappingを持ちます。

コンストラクタ

コンストラクタ説明
VertexElementUV()新しいVertexElementUVクラスのインスタンスを初期化します。
VertexElementUV(TextureMapping textureMapping)新しいVertexElementUVクラスのインスタンスを初期化します。

メソッド

メソッド説明
addData(Iterable data)VertexElementUV.DataにVector2のセットを追加します。
addData2(Iterable data)VertexElementUV.DataにVector3のセットを追加します。
clear()direct と index 配列からすべての要素を削除します。
clone(boolean withData)頂点要素をディープクローンします。
clone(boolean withDirect, boolean withIndice)
copyTo(VertexElementVector4 target)指定された要素にデータをコピーします。
equals(Object arg0)
getClass()
getData()頂点データを取得します。
getIndices()インデックスデータを取得します。
getMappingMode()要素のマッピング方法を取得します。
getName()名前を取得します。
getReferenceMode()要素の参照方法を取得します。
getVertexElementType()VertexElement の型を取得します。
hashCode()
notify()
notifyAll()
setData(Vector4[] data)データをロードします。
setIndices(int[] data)インデックスをロードします。
setMappingMode(MappingMode value)要素のマッピング方法を設定します。
setName(String value)名前を設定します。
setReferenceMode(ReferenceMode value)要素の参照方法を設定します。
toString()頂点要素の文字列表現です。
wait()
wait(long arg0)
wait(long arg0, int arg1)

VertexElementUV()

public VertexElementUV()

新しいVertexElementUVクラスのインスタンスを初期化します。デフォルトのテクスチャマッピングタイプはTextureMapping.DIFFUSEです。

VertexElementUV(TextureMapping textureMapping)

public VertexElementUV(TextureMapping textureMapping)

新しいVertexElementUVクラスのインスタンスを初期化します。

Parameters:

パラメーター説明
textureMappingTextureMappingテクスチャマッピングタイプ。

addData(Iterable data)

public void addData(Iterable<Vector2> data)

VertexElementUV.DataにVector2のセットを追加します。これはショートカットであり、このメソッドはVector2をzを0、wを0にしたVector4に変換します。

Parameters:

パラメーター説明
データjava.lang.Iterable<com.aspose.threed.Vector2>

addData2(Iterable data)

public void addData2(Iterable<Vector3> data)

VertexElementUV.DataにVector3のセットを追加します。これはショートカットであり、このメソッドはVector3をwを0にしたVector4に変換します。

Parameters:

パラメーター説明
データjava.lang.Iterable<com.aspose.threed.Vector3>

clear()

public void clear()

direct と index 配列からすべての要素を削除します。

clone(boolean withData)

public VertexElement clone(boolean withData)

頂点要素をディープクローンします。

Parameters:

パラメーター説明
withDatabooleandirect と index 配列で頂点をクローンします。

Returns: VertexElement

clone(boolean withDirect, boolean withIndice)

public VertexElement clone(boolean withDirect, boolean withIndice)

Parameters:

パラメーター説明
withDirectboolean
withIndiceboolean

Returns: VertexElement

copyTo(VertexElementVector4 target)

public void copyTo(VertexElementVector4 target)

指定された要素にデータをコピーします。

Parameters:

パラメーター説明
targetVertexElementVector4対象。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

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

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public List<Vector4> getData()

頂点データを取得します。

Returns: java.util.List<com.aspose.threed.Vector4> - 頂点データ

getIndices()

public List<Integer> getIndices()

インデックスデータを取得します。

Returns: java.util.List<java.lang.Integer> - インデックスデータ

getMappingMode()

public MappingMode getMappingMode()

要素のマッピング方法を取得します。

Returns: MappingMode - how the element is mapped.

getName()

public String getName()

名前を取得します。

Returns: java.lang.String - 名前です。

getReferenceMode()

public ReferenceMode getReferenceMode()

要素の参照方法を取得します。

Returns: ReferenceMode - how the element is referenced.

getVertexElementType()

public VertexElementType getVertexElementType()

VertexElement の型を取得します。

Returns: VertexElementType - the type of the VertexElement

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setData(Vector4[] data)

public void setData(Vector4[] data)

データをロードします。

Parameters:

パラメーター説明
dataVector4[]

setIndices(int[] data)

public void setIndices(int[] data)

インデックスをロードします。

Parameters:

パラメーター説明
データint[]

setMappingMode(MappingMode value)

public void setMappingMode(MappingMode value)

要素のマッピング方法を設定します。

Parameters:

パラメーター説明
valueMappingMode新しい値

setName(String value)

public void setName(String value)

名前を設定します。

Parameters:

パラメーター説明
java.lang.String新しい値

setReferenceMode(ReferenceMode value)

public void setReferenceMode(ReferenceMode value)

要素の参照方法を設定します。

Parameters:

パラメーター説明
valueReferenceMode新しい値

toString()

public String toString()

頂点要素の文字列表現です。

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