We currently supply two example plugins which we use in production
This translates the built-in USD "Camera" schema. Supports a minimal but useful set of camera-related parameters, see Camera.h (@todo: add doxygen reference)
This has an accompanying schema called ALMayaReference, defined in schemas
The ALMayaReference schema allow you to define a Maya Reference in USD. The translator plugin will create the corresponding reference node in maya, and set it's attributes. Currently supports:
- mayaReference - the filepath or assetId
- mayaNamespace - the maya namespace that all of the reference content will be prefixed with
Maya Reference is probably our most complex Translator, and maya references can:
- be swapped in and out and by variant switching, version change or other events
- be updated - e.g if we switch a variant and detect that the replacement Prim is also a maya reference, we can update the reference rather than tearing down and re-initialising.
- be set as inactive after import