-
Notifications
You must be signed in to change notification settings - Fork 57
Using VaQuoleUI
VaQuoleUI provides two actor components that you can use:
- VaQuoleHUDComponent - best for on-screen HUD elements or full-screen menus
- VaQuoleSceneUIComponent - shoud be used to show UI directly in scene (Doom 3 style)
Both components are inherited from VaQuoleUIComponent
class and have the same core. Transparent background is supported for both components.
Common steps are:
- Add UI component to the desired blueprint
- Configure URL to be opened, transparency, texture size, input type, etc.
- Setup how and when page widget will receive input (for Scene UI primarly)
- Setup communication between player and widget using JavaScript calls/events
- Play the game
Realization details depend on type of used component, because game usage purposes are different for them at most cases. Read more about each way by following the links above.
How to load local web application with UIComponent?
You should set the URL as vaquole://Relative/Path/To/MyPage.html
, where the path is relative to your project directory (where .uproject file is located).
How to open url that requires https connection?
Check SSL support article.
Is transparent background supported?
Yes, it is. Set bTransparent=true
in component defaults. Web page background should be filled with the white color.
Does VaQuoleUI support curved surfaces?
Yes, but it has its limitations. Check surface mapping section to know more.