lightspeed.trex.schemas#
Loads Remix-authored USD schemas and exposes their metadata to Toolkit extensions.
Responsibilities#
Register the compiled
RemixParticleSystemUSD plugin.Provide particle schema attribute and type lookup helpers.
Parse the packaged generated
RemixCategoriesschema into Toolkit category metadata.Keep Remix category names, attributes, and descriptions synchronized with HdRemix.
Maintain the explicit list of deprecated Remix categories and expose the subset available for new assignment.
Non-Responsibilities#
Defining Toolkit UI policy such as supported prim types or hidden categories.
Authoring or maintaining the upstream Remix schemas.
Providing category assignment UI.
Architecture#
extension.pyowns the schema registry lifecycle.plugin.pyregisters compiled USD schema plugins and their source schemas.particle.pyexposes particle schema attributes and types.categories.pyparses/RemixInstanceCategoryAPIfrom the packaged HdRemix schema. Descriptions wrap to 60 characters so info-icon tooltips retain a compact visual block. Missing or malformed category schemas log an error and expose empty mappings without blocking Toolkit startup. The complete mapping retains deprecated metadata for compatibility migrations, while the assignable mapping excludes deprecated categories from new authoring. The schema attributeremix_category:decal_Staticis exposed with its canonical display label,Decal.utils.pyresolves registered schema prim definitions.