MorphTargetDeformer

Inheritance: java.lang.Object、com.aspose.threed.A3DObjectcom.aspose.threed.Deformer

public class MorphTargetDeformer extends Deformer

MorphTargetDeformer は頂点ごとのアニメーションを提供します。MorphTargetDeformer はすべてのターゲットを MorphTargetChannel を介して整理し、各チャンネルは複数のターゲットを管理できます。モーフターゲットデフォーマーの一般的な使用例は、キャラクターに表情を適用することです。詳細は https://en.wikipedia.org/wiki/Morph_target_animation を参照してください。

コンストラクタ

コンストラクタ説明
MorphTargetDeformer(String name)新しい MorphTargetDeformer クラスのインスタンスを初期化します。
MorphTargetDeformer()新しい MorphTargetDeformer クラスのインスタンスを初期化します。

メソッド

メソッド説明
equals(Object arg0)
findProperty(String propertyName)プロパティを検索します。
get(Shape target)指定されたジオメトリの重みを取得します。これは、チャンネルにアクセスせずにターゲットの重みを変更する簡易的な方法です。
getChannels()このデフォーマーに含まれるすべてのチャンネルを取得します。
getClass()
getName()名前を取得します。
getOwner()このデフォーマーを所有するジオメトリを取得します
getProperties()すべてのプロパティのコレクションを取得します。
getProperty(String property)指定されたプロパティの値を取得します
hashCode()
notify()
notifyAll()
removeProperty(Property property)動的プロパティを削除します。
removeProperty(String property)名前で識別される指定されたプロパティを削除します
set(Shape target, double value)指定されたジオメトリの重みを設定します。これは、チャンネルにアクセスせずにターゲットの重みを変更する簡易的な方法です。
setName(String value)名前を設定します。
setProperty(String property, Object value)指定されたプロパティの値を設定します
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MorphTargetDeformer(String name)

public MorphTargetDeformer(String name)

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

Parameters:

パラメーター説明
名前java.lang.String名前。

MorphTargetDeformer()

public MorphTargetDeformer()

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

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

Returns: boolean

findProperty(String propertyName)

public Property findProperty(String propertyName)

プロパティを検索します。動的プロパティ(CreateDynamicProperty/SetProperty により作成)またはネイティブプロパティ(名前で識別)になる可能性があります。

Parameters:

パラメーター説明
propertyNamejava.lang.Stringプロパティ名。

Returns: Property - The property.

get(Shape target)

public double get(Shape target)

指定されたジオメトリの重みを取得します。これは、チャンネルにアクセスせずにターゲットの重みを変更する簡易的な方法です。

Parameters:

パラメーター説明
targetShape対象ジオメトリ

Returns: double - ウェイト

getChannels()

public List<MorphTargetChannel> getChannels()

このデフォーマーに含まれるすべてのチャンネルを取得します。

Returns: java.util.List<com.aspose.threed.MorphTargetChannel> - このデフォーマーに含まれるすべてのチャンネル

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

名前を取得します。

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

getOwner()

public Geometry getOwner()

このデフォーマーを所有するジオメトリを取得します

Returns: Geometry - the geometry which owns this deformer

getProperties()

public PropertyCollection getProperties()

すべてのプロパティのコレクションを取得します。

Returns: PropertyCollection - the collection of all properties.

getProperty(String property)

public Object getProperty(String property)

指定されたプロパティの値を取得します

Parameters:

パラメーター説明
プロパティjava.lang.Stringプロパティ名

Returns: java.lang.Object - 見つかったプロパティの値

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeProperty(Property property)

public boolean removeProperty(Property property)

動的プロパティを削除します。

Parameters:

パラメーター説明
propertyProperty削除するプロパティ

Returns: boolean - プロパティが正常に削除された場合は true

removeProperty(String property)

public boolean removeProperty(String property)

名前で識別される指定されたプロパティを削除します

Parameters:

パラメーター説明
プロパティjava.lang.String削除するプロパティ

Returns: boolean - プロパティが正常に削除された場合は true

set(Shape target, double value)

public void set(Shape target, double value)

指定されたジオメトリの重みを設定します。これは、チャンネルにアクセスせずにターゲットの重みを変更する簡易的な方法です。

Parameters:

パラメーター説明
targetShape対象ジオメトリ
double新しい値

setName(String value)

public void setName(String value)

名前を設定します。

Parameters:

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

setProperty(String property, Object value)

public void setProperty(String property, Object value)

指定されたプロパティの値を設定します

Parameters:

パラメーター説明
プロパティjava.lang.Stringプロパティ名
java.lang.Objectプロパティの値

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