Type name of USD lights

Hi experts,
As we known, the type name of rect light in USD file is “RectLight”.
But I find a model, in this model, the type name of rect light is “UsdLuxRectLight”. Is this name the old type name of rect light? or it’s just an error?


Thanks!

That does look wrong and like it was created without using the OpenUSD API. Do you know what created it?

That’s an error in modern usd… four or so years ago we were accommodating about allowing the C++ class name to be used rather than the usd schema name, but class names can be brittle, and it’s confusing to have two different ways to refer to the same schema, so we disabled that alias.

Do you know where that snippet came from? It must be quite old as it predates the 2021 move of all light properties to be in the “inputs:” namespace.

Thanks, it’s downloaded from internet, and I can’t find the website now.

Thank you for the information. The model is downloaded from internet, and I can’t find the website now.