At a friend's request, I was looking at some nameplate mods today to make some updates they wanted and found that both Aloft and another mod I looked at called TidyPlates "find" nameplates by querying all the children of the WorldFrame in OnUpdate (possibly with a throttle timer) and checking some things about the textures those frames have applied. Is there no better way of finding/working with nameplates in the API?
here's something interesting about nameplates: the depth value is set (the one for stereoscopic viewing). so you can GetDepth() on a frame and it'll be larger for units that are father away. now, it's not a useful range indicator (too bad), but it could be used to fade-in/out nameplates or depth-cue them or assign frame level priorities.