Since | 18.0 |
string [] usd_collectioncomputedpaths(<stage>stage, string collectionpath)
この関数は、指定したコレクションに属しているすべてのオブジェクトのリストを返します。
<stage>
ノードのコンテキスト内(例えば、Wrangle LOP)で実行する時、ステージの読み込み先となる(0から始まる)入力番号を表現した整数をこの引数に指定することができます。 この整数は、特定の入力を参照する文字列形式(例えば、“opinput:0”)と等価です。
collectionpath
コレクションのパス。
Returns
指定したコレクションに属しているすべてのオブジェクトのリスト。
Examples
// cubeのコレクション内のすべてのオブジェクトを取得します。 string collection_path = usd_makecollectionpath(0, "/geo/cube", "some_collection"); string members[] = usd_collectioncomputedpaths(0, collection_path);
See also | |
usd | |
usd_collection |