shown in other instead.
This article describes the data/samples/objects/gui_06.cpp sample.
The gui_06 sample demonstrates how to attach a GUI object to a static mesh, namely:
- Create a GUI object without a background and set the value indicating if the GUI object should be a billboard to the 1.
- Assign an instance of the WidgetLabel class to the created object
- Add the GUI object with the text label to the static mesh as a child
If you change the mesh position, the label position is also changed.