matrix [] agentcliplayersamplelocal(<geometry>geometry, int prim, string clip_names[], float clip_times[], float clip_weights[], string clip_transform_groups[], int clip_layer_ids[], int layer_blend_modes[], float layer_weights[], int layer_parent_ids[])
matrix [] agentcliplayersamplelocal(<geometry>geometry, int prim, int clip_ids[], float clip_times[], float clip_weights[], int clip_transform_group_ids[], int clip_layer_ids[], int layer_blend_modes[], float layer_weights[], int layer_parent_ids[])
matrix agentcliplayersamplelocal(<geometry>geometry, int prim, int transform, string clip_names[], float clip_times[], float clip_weights[], string clip_transform_groups[], int clip_layer_ids[], int layer_blend_modes[], float layer_weights[], int layer_parent_ids[])
matrix agentcliplayersamplelocal(<geometry>geometry, int prim, int transform, int clip_ids[], float clip_times[], float clip_weights[], int clip_transform_group_ids[], int clip_layer_ids[], int layer_blend_modes[], float layer_weights[], int layer_parent_ids[])
レイヤアニメーションクリップセットを評価して、ブレンドされたローカルトランスフォームを返します。
primが範囲外の場合、primがエージェントプリミティブでない場合、レイヤアニメーションクリップが無効な階層を表現している場合は、空っぽの配列を返します。
単一トランスフォームのサンプリングでは、matrixシグネチャの方がmatrix[]シグネチャよりも効率が良いです。
<geometry>
ノード(例えばWrangle SOP)のコンテキスト内で実行する時は、この引数にジオメトリの読み込み元の入力番号(0から始まります)を意味する整数を指定することができます。
別の方法として、読み込み元のジオメトリファイル(例えば、.bgeo)を示した文字列を指定することができます。
Houdini内で実行する時は、この引数にop:/path/to/sop参照を指定することができます。
prim
プリミティブ番号。
transform
サンプリングしたいエージェントのリグ内のトランスフォームのインデックス。
clip_names
アニメーションクリップ名のリスト。
clip_ids
エージェント定義内のアニメーションクリップインデックスのリスト。 クリップのインデックスは、agentfindclipで取得することができます。
clip_times
クリップをサンプリングする時間のリスト。
clip_weights
アニメーションクリップのブレンドウェイトのリスト。
clip_transform_groups
各クリップが適用されるジョイントを指定したトランスフォームグループのリスト。
clip_transform_group_ids
エージェント定義内のトランスフォームグループインデックスのリスト。 トランスフォームグループのインデックスは、agentfindtransformgroupで取得することができます。
clip_layer_ids
各アニメーションクリップが入力となるレイヤを含んだリスト。
layer_blend_modes
各レイヤのブレンドモードのリスト。
利用可能なブレンドモードは、$HH/vex/include/crowd_cliplayers.hで定義されています。
layer_weights
各レイヤのブレンドウェイトのリスト。 最上位レイヤにはブレンドウェイトは使用されません。
layer_parent_ids
各レイヤの親レイヤを含んだリスト(最上位レイヤの場合は-1)。 ここには、アニメーションレイヤのツリーを指定します。
| See also | |
| clip |
|
| crowds |