React 360 UI components
Previously, we mentioned that React 360 uses a lot of concepts from React Native. One of them is the use of UI components that can be rendered. Out of the box, four UI components are offered by React 360, that is, View, Text, Entity, and VrButton. First, the View and Text components are 2D and used in the index.js file to create the panel and greeting message that you can see in the application. The other two components are more complex and can be used to render 3D objects in the case of the Entity component, or respond to user actions such as pressing a key down, in the case of the VrButton component.
From the client.js file, these components can be placed on cylinder surfaces from the index.js file since these are ...
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