Since | 19.0 |
string [] usd_iprimvarnames(<stage>stage, string primpath)
This function returns the primvar names that are available directly on the given primitive or are inherited from primitive’s ancestors.
<stage>
ノードのコンテキスト内(例えば、Wrangle LOP)で実行する時、ステージの読み込み先となる(0から始まる)入力番号を表現した整数をこの引数に指定することができます。 この整数は、特定の入力を参照する文字列形式(例えば、“opinput:0”)と等価です。
primpath
Primのパス。
Returns
String array containing the names of the primvars of the primitive and its ancestors.
Examples
// Get the primvar names from the primitive and its ancestors. string primvar_names[] = usd_iprimvarnames(0, "/geo/src_sphere");
See also | |
usd | |
usd_prim |
|
usd_primvar |
|