I'm trying to identify the nodes in a scene belonging to specific types, e.g. clothing.
The first thing I'm trying is getting the presentation for a DzNode. The DzPresentation::type has values like Follower/Wardrobe/Dress, which is useful. However, not all clothing items seem to have this set correctly. Some I encountered just have Follower, for example, which isn't specific enough.
My next idea is to get the metadata for the node's underlying asset. Each node has an assetID, but I can't figure out how to convert it to a DzAsset, from which I can get the relevant categories. The DzAssetMgr class doesn't seem to provide anything useful in that regard. How can I go from DzNode to DzAsset?
More generally, is this the right approach to classifying nodes? Or is there a better way?