MorphTargetChannel

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_weightfloat読み取り/書き込みチャンネルの重みを取得または設定します。
targets'list[Shape]'読み取りターゲットを取得します。
namestr読み取り/書き込み名前を取得または設定します。
propertiesPropertyCollection読み取りプロパティを取得します。

メソッド

シグネチャ説明
__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) を呼び出します。

参照

 日本語