July 2017
Beginner to intermediate
390 pages
10h 53m
English
We need to add three extra classes to our app. In previous samples, we have worked with the SpinningCubeRenderer and adapted that to fit our needs, but this will not work anymore. Spatial mapping is quite complex, so we cannot add that in one class if we want to keep a bit of structure in our app. We will keep SpinningCubeRenderer just to see it running and to have a reference point in our virtual world, though, so do not remove it.
We will add three extra classes to the Content folder and namespace, right next to SpinningCubeRenderer:
|
Class |
Responsibilities |
|
SpatialSurfaceRenderer |
This class is the equivalent of SpinningCubeRenderer. It is set up in the main code and called whenever we need to update and render ... |
Read now
Unlock full access