USD Code Samples

Universal Scene Description (OpenUSD) Code Samples

This is an index of code samples or snippets for Universal Scene Description (OpenUSD). The code samples are indexed by topics and each code sample is titled by the task that it is used for. Where applicable, we include code samples using Kit OpenUSD wrappers for developing within Omniverse apart from the original USD API. New USD developers will find this useful for finding the appropriate API used to accomplish a task and using the OpenUSD Python API reference or OpenUSD C++ API reference to learn more about the API. Experienced developers can use this index for quick code lookups.

Want to contribute to the USD Code Samples?

All the code samples are open-source with a permissive license. You can contribute new code samples for new tasks or improve existing code samples. Visit the OpenUSD Code Samples GitHub Repository to learn more and contribute.

Contribute

Cameras

Data Types

Hierarchy & Traversal

Inherits

Layers

Materials

Paths

Prims

Properties

References & Payloads

Specializes

Stage

Transforms

Variant Sets

Visibility