MorphTargetChannel
概要
MorphTargetChannel は Aspose.3D の Python 用 FOSS のクラスです。継承元: A3DObject。
MorphTargetChannel.get_weight(target) は特定のモーフターゲットのウェイト値を返します。
このクラスは Python プログラムの MorphTargetChannel オブジェクト用に 9 つのメソッドを宣言します。利用可能なメソッドは: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight。すべての公開メンバーは、Aspose.3D の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションからアクセス可能です。プロパティ: channel_weight, name, properties, targets, weights。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
weights | 'list[float]' | 読み取り | ウェイトを取得します。 |
channel_weight | float | 読み取り/書き込み | チャンネルの重みを取得または設定します。 |
targets | 'list[Shape]' | 読み取り | ターゲットを取得します。 |
name | str | 読み取り/書き込み | 名前を取得または設定します。 |
properties | PropertyCollection | 読み取り | プロパティを取得します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
__init__(name: str) | Calls init(name) この MorphTargetChannel インスタンス上で。 |
get_weight(target: 'Shape') → float | 指定されたモーフターゲットの現在のウェイトを返し、set_weight(target, weight) はそれを更新します。 |
set_weight(target: 'Shape', weight: float) | ウェイト値を設定します。 |
get_weight(index: int) → float | この MorphTargetChannel インスタンスで get_weight(index) を呼び出します。 |
set_weight(index: int, weight: float) | 重みの値を設定します。 |
find_property(property_name: str) | この MorphTargetChannel インスタンスで find_property(property_name) を呼び出します。 |
get_property(property: str) | この MorphTargetChannel インスタンスで get_property(property) を呼び出します。 |
set_property(property: str, value) | プロパティ値を設定します。 |
remove_property(property) | この MorphTargetChannel インスタンスで remove_property(property) を呼び出します。 |