Since | 19.0 |
int usd_isabstract(<stage>stage, string primpath)
This function checks whether the given primitive is abstract or defined.
<stage>
ノードのコンテキスト内(例えば、Wrangle LOP)で実行する時、ステージの読み込み先となる(0から始まる)入力番号を表現した整数をこの引数に指定することができます。 この整数は、特定の入力を参照する文字列形式(例えば、“opinput:0”)と等価です。
primpath
Primのパス。
Returns
1 if the primitive is abstract, and 0 otherwise.
Examples
// Check if the sphere primitive is abstract. int is_abstract = usd_isabstract(0, "/geometry/sphere");
See also | |
usd | |
usd_prim |
|