AnimationChannel

AnimationChannel

概要

AnimationChannel は Aspose.3D の FOSS における Python 用のクラスです。継承元: KeyframeSequence。

AnimationChannel はキーフレームデータを保存します。リセットしたり、時間・値・補間を指定してキーフレームを追加したり、カスタムプロパティを管理したりできます。

このクラスは Python プログラム内の AnimationChannel オブジェクト向けに 7 つのメソッドを宣言します。利用可能なメソッドは: __init__, add, find_property, get_property, remove_property, reset, set_property。すべてのパブリックメンバーは、Aspose.3D の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションからアクセス可能です。プロパティ: bind_point, component_type, default_value, key_frames, keyframe_sequence, name、およびその他 3 つ。

プロパティ

名前型アクセス説明
component_type``読み取りコンポーネントのタイプを取得します。
default_valueAny読み取り/書き込み既定値を取得または設定します。
keyframe_sequenceKeyframeSequence読み取り/書き込みキー フレーム シーケンスを取得または設定します。
namestr読み取り/書き込み名前を取得または設定します。
properties``読み取りプロパティを取得します。
bind_point'BindPoint'読み取りバインドポイントを取得します。
key_framesList['KeyFrame']読み取りキー フレームを取得します。
post_behaviorExtrapolation読み取りポストの動作を取得します。
pre_behaviorExtrapolation読み取り事前のビヘイビアを取得します。

メソッド

シグネチャ説明
__init__(name: str)Calls init(name) この AnimationChannel インスタンス上。
reset()この AnimationChannel インスタンスでリセットを呼び出す。
add(time: float, value: float, interpolation: Interpolation)この AnimationChannel インスタンスの add(time, value, interpolation) を呼び出します。
find_property(property_name: str)この AnimationChannel インスタンスの find_property(property_name) を呼び出します。
get_property(property: str)この AnimationChannel インスタンスの get_property(property) を呼び出します。
set_property(property: str, value)プロパティの値を設定します。
remove_property(property)この AnimationChannel インスタンスで remove_property(property) を呼び出します。

参照

 日本語