Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
193 stars 9 forks source link

[Feature Request] FontTip, TextTip, AssetFrameSlot<Font> & similar components #590

Open Abysmal2134 opened 4 years ago

Abysmal2134 commented 4 years ago

So while trying to fiddle around with creating a UI system to build your own custom nametag it seems like there are some core components/tools missing for easily manipulating text fonts outside of the Inspector.

It would be really useful to have a tooltip for Fonts with functions similar to the MaterialTip. Being able to slot a font in the FontTip would give you option to apply it more easily to multiple text objects by switching between Ray, Area, Object Global, Scene Global modes.

Having a TextTip to easily create new Text with already adjusted settings suck as size, color, alignment, outlines, etc and maybe a mode to apply those settings to already existing text, would also speed up working on UI elements, since you wouldn't have to constantly duplicate text objects from already set up 'drafts' that require you to fiddle in the inspector first.

The main problem I had with creating my custom nametag UI tool (besides having to learn Logix to do so) was that I was missing the AssetFrameSlot and AssetMultiplexer component for fonts. There wasn't an easy way I could think of to let someone put their own font file in a slot to or pick between multiple font options that come with the nametag tool. But this might be just my inexperience with Logix talking.

Frooxius commented 4 years ago

Those tips could be pretty good additions!

AssetFrameSlot and AssetMultiplexer already support fonts and any other assets, because they're generic. However the datatype you want for using fonts is "FontSet", not "Font" specifically.