![]() My Spatial Awareness Profile looks like this: SpatialAwarenessSystem.ClearObservations() SpatialAwarenessSystem.SuspendObservers() //stop SpatialAwarenessSystem.ResumeObservers() //start ![]() By starting everything starts fine but after suspending and clearing the observers the whole spatial map disappears, so my cursor does not align to my environment. The example given by mrtk in there SpatialAwarenessMeshDemo scene, shows how to start and stop the observer. MeshObserver.DisplayOption = SpatialAwarenessMeshDisplayOptions.None ģ. Var meshObserver = observer as IMixedRealitySpatialAwarenessMeshObserver I guess GetObservers is giving null back or maybe meshOserver is null:įoreach(var observer in ()) Trying to disable the visualization gives me every time a nullreference. ![]() But by disabling spatial mapping I still want to have the colliders of my environment.ġ. After scanning my environment I want to disable it, or hide at least the visualization of polygons, so I can save some fps. I need to enable spatial mapping on runtime. I know that this question has already been asked here twice, but the answers did not fix my problem. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |