BindPoint
概要
BindPoint は Aspose.3D の Python 用 FOSS のクラスです。継承元: A3DObject。
BindPoint はプロパティを 1 つ以上の AnimationChannel オブジェクトにリンクし、チャネルの作成、取得、リセットを可能にします。
このクラスは Python プログラム内の BindPoint オブジェクト用に 14 のメソッドを宣言します。利用可能なメソッドは: __init__, add_channel, bind_keyframe_sequence, channels_count, create_keyframe_sequence, find_property, get_channel, get_keyframe_sequence, get_property, property, remove_property, reset_channels と 1 つの追加メソッドです。すべてのパブリックメンバーは、Aspose.3D の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションからアクセス可能です。プロパティ: name, properties。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
name | str | 読み取り/書き込み | 名前を取得または設定します。 |
properties | `` | 読み取り | プロパティを取得します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
__init__(scene: 'Scene', prop: 'Property') | Calls init(scene, prop) この BindPoint インスタンス上で。 |
add_channel(name: str, value: Any, type) → bool | 指定された名前、値、タイプで新しいアニメーションチャンネルを追加し、成功した場合は True を返します。 |
get_keyframe_sequence(channel_name: str) → 'KeyframeSequence' | 指定されたチャンネル名に関連付けられたKeyframeSequenceを返します |
create_keyframe_sequence(name: str) → 'KeyframeSequence' | 提供された名前で識別される新しいKeyframeSequenceを作成し、返します |
bind_keyframe_sequence(channel_name: str, sequence: 'KeyframeSequence') | 指定されたKeyframeSequenceを名前付きアニメーションチャンネルにリンクします |
get_channel(channel_name: str) → 'AnimationChannel' | 指定されたチャンネル名のAnimationChannelオブジェクトを取得します |
reset_channels() | すべてのチャネルとそれらのバインディングをBindPointから削除します |
property() → 'Property' | このBindPointに関連付けられた Property コレクションを返します |
channels_count() → int | 現在定義されているアニメーションチャネルの数を返します |
__init__(name: str) | Calls initこのBindPointインスタンス上の (name)。 |
find_property(property_name: str) | この BindPoint インスタンスで find_property(property_name) を呼び出します。 |
get_property(property: str) | この BindPoint インスタンスで get_property(property) を呼び出します。 |
set_property(property: str, value) | プロパティの値を設定します。 |
remove_property(property) | この BindPoint インスタンスで remove_property(property) を呼び出します。 |