Events
Events aren't just fun things to go to in your neighborhood, they are also ways to make your VR world really come alive. Events are generated when the user does certain things through the user interface (UI). A View component sends onEnter and onExit events when you move the cursor in and out of the view area.
The astute reader should be confused--we are talking about VR and I just mentioned area. Why is a 2D concept being discussed as a fundamental component of a 3D language?
Events and layout (covered next) follow the 2D paradigm and are one example of an easy bridge between what you're used to working with (HTML, CSS, and JavaScript, and the VR world). There are differences, however, and the one that states "pixels" are not considered ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access