BindPoint
Inheritance: java.lang.Object, com.aspose.threed.A3DObject
public class BindPoint extends A3DObject
通常、オブジェクトのプロパティ上にBindPointが作成されます。一部のプロパティ型は複数のコンポーネントフィールド(例: Vector3 フィールド)を含み、BindPointは各コンポーネントフィールドごとにチャネルを生成し、チャネルを介してフィールドを1つ以上のキーフレームシーケンスインスタンスに接続します。
コンストラクタ
| コンストラクタ | 説明 |
|---|---|
| BindPoint(Scene scene, Property prop) | BindPoint クラスの新しいインスタンスを初期化します。 |
メソッド
BindPoint(Scene scene, Property prop)
public BindPoint(Scene scene, Property prop)
BindPoint クラスの新しいインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| scene | Scene | アニメーションを含むシーンです。 |
| prop | Property | プロパティ。 |
addChannel(String name, Class type, Object value)
public boolean addChannel(String name, Class<?> type, Object value)
指定されたチャネルプロパティを追加します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 名前 | java.lang.String | 名前。 |
| type | java.lang.Class | タイプ。 |
| 値 | java.lang.Object | 値。 |
Returns: boolean - チャネルが追加された場合は true、そうでない場合は false。
addChannel(String name, Object value)
public boolean addChannel(String name, Object value)
指定されたチャネルプロパティを追加します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 名前 | java.lang.String | 名前。 |
| 値 | java.lang.Object | 値。 |
Returns: boolean - チャネルが追加された場合は true、そうでない場合は false。
bindKeyframeSequence(String channelName, KeyframeSequence sequence)
public void bindKeyframeSequence(String channelName, KeyframeSequence sequence)
キーフレームシーケンスを指定されたチャネルにバインドします
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| channelName | java.lang.String | キーフレームシーケンスがバインドされるチャネル |
| sequence | KeyframeSequence | バインドするキーフレームシーケンス |
createKeyframeSequence(String name)
public KeyframeSequence createKeyframeSequence(String name)
新しい曲線を作成し、曲線マッピングの最初のチャネルに接続します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 名前 | java.lang.String | 新しいシーケンスの名前です。 |
Returns: KeyframeSequence - The keyframe sequence.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
プロパティを検索します。動的プロパティ(CreateDynamicProperty/SetProperty により作成)またはネイティブプロパティ(名前で識別)になる可能性があります。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| propertyName | java.lang.String | プロパティ名。 |
Returns: Property - The property.
get(String channelName)
public AnimationChannel get(String channelName)
指定された名前でチャネルを取得します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| channelName | java.lang.String | チャネル名 |
Returns: AnimationChannel - Animation channel
getChannel(String channelName)
public AnimationChannel getChannel(String channelName)
指定された名前でチャネルを取得します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| channelName | java.lang.String | 検索するチャネル名 |
Returns: AnimationChannel - Channel with the name
getChannelsCount()
public int getChannelsCount()
このアニメーション曲線マッピングで定義されているプロパティチャネルの総数を取得します。
Returns: int - チャネル数。
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getKeyframeSequence(String channelName)
public KeyframeSequence getKeyframeSequence(String channelName)
指定されたチャネル内の最初のキーフレームシーケンスを取得します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| channelName | java.lang.String | 検索するチャネル名 |
Returns: KeyframeSequence - First keyframe sequence with the channel name
getName()
public String getName()
名前を取得します。
Returns: java.lang.String - 名前です。
getProperties()
public PropertyCollection getProperties()
すべてのプロパティのコレクションを取得します。
Returns: PropertyCollection - the collection of all properties.
getProperty()
public Property getProperty()
CurveMapping に関連付けられたプロパティを取得します
Returns: Property - the property associated with the CurveMapping
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:
| パラメーター | 型 | 説明 |
|---|---|---|
| property | Property | 削除するプロパティ |
Returns: boolean - プロパティが正常に削除された場合は true
removeProperty(String property)
public boolean removeProperty(String property)
名前で識別される指定されたプロパティを削除します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| プロパティ | java.lang.String | 削除するプロパティ |
Returns: boolean - プロパティが正常に削除された場合は true
resetChannels()
public void resetChannels()
このアニメーション曲線マッピングのプロパティチャネルを空にします。
setName(String value)
public void setName(String value)
名前を設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 値 | java.lang.String | 新しい値 |
setProperty(Property value)
public void setProperty(Property value)
CurveMapping に関連付けられたプロパティを取得します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | Property | 新しい値 |
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:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |