| Since | 18.0 | 
                
                    
                    
                    
                        int  usd_addcollectionexclude(int stagehandle, string collectionpath, string path)
                    
                    
                
            
この関数は、コレクションからオブジェクトを除外します。 通常では、こういう処理はコレクションのExcludeリストに明示的にパスを追加することで可能ですが、Includeリストだけで十分なのであれば、この関数はコレクションのIncludeリストからパスを除外することができます。
            
                stagehandle
書き出し先のステージのハンドル。
    現在のところ、唯一有効な値は0のみです。
    この値は、ノード内の現在のステージを意味します(今後は、この引数を使用することで他のステージへの書き出しが可能になります)。
            
                collectionpath
コレクションのパス。
            
                path
オブジェクト(例えば、Prim、アトリビュート、リレーションシップ)のパス。
Returns
成功するとstagehandleの値、失敗すると-1。
Examples ¶
// cubeのコレクションからsphere3を除外します。 string collection_path = usd_makecollectionpath(0, "/geo/cube", "some_collection"); usd_addcollectionexclude(0, collection_path, "/geo/sphere3");
| See also | |
| usd | |
| usd_collection |