API reference

SceneDebugger Class

Extends MonoBehaviour
Provides debugging tools for visualizing and interacting with the scene data.

Fields

Material visualHelperMaterial[Get]
bool ShowDebugAnchors[Get]
bool MoveCanvasInFrontOfCamera[Get]
bool SetupInteractions[Get]
TextMeshProUGUI logs[Get]
TMP_Dropdown surfaceTypeDropdown[Get]
TMP_Dropdown exportGlobalMeshJSONDropdown[Get]
TMP_Dropdown positioningMethodDropdown[Get]
TextMeshProUGUI RoomDetails[Get]
List< Image > Tabs[Get]
List< CanvasGroup > Menus[Get]
OVRRayHelper RayHelper[Get]
OVRInputModule InputModule[Get]
OVRRaycaster Raycaster[Get]
OVRGazePointer GazePointer[Get]

Member Functions

Shows information about the rooms loaded.
Parameters
isOn
If set to true, room details will be shown.
Highlights the room's key wall, defined as the longest wall in the room which has no other room points behind it.
Parameters
isOn
If set to true, the key wall will be highlighted.
Highlights the anchor with the largest available surface area.
Parameters
isOn
If set to true, the largest surface will be highlighted.
Highlights the best-suggested seat, for something like remote caller placement.
Parameters
isOn
If set to true, the closest seat pose will be highlighted.
Highlights the closest position on a SceneAPI surface.
Parameters
isOn
If set to true, the closest surface position will be highlighted.
Highlights the best suggested transform to place a widget on a surface.
Parameters
isOn
If set to true, the best pose from raycast will be highlighted.
Casts a ray cast forward from the right controller position and draws the normal of the first Scene API object hit.
Parameters
isOn
If set to true, the raycast hits with scene objects will be visualized.
Moves the debug sphere to the controller position and colors it in green if its position is in the room, red otherwise.
Parameters
isOn
If set to true, the position of the debug sphere will be checked.
Shows the debug anchor visualization mode for the anchor being pointed at.
Parameters
isOn
If set to true, debug anchors will be visualized.
Displays the global mesh anchor if one is found in the scene.
Parameters
isOn
If set to true, the global mesh will be displayed.
Toggles the global mesh anchor's collision.
Parameters
isOn
If set to true, collisions for the global mesh anchor will be enabled
Exports the current scene data to a JSON file if the specified condition is met.
Parameters
isOn
If set to true, the scene data will be exported to JSON.
Displays a texture in the right info panel about your spacemap.
Parameters
isOn
No action needed as the SpaceMap does not need additional logic
Displays the nav mesh, if present.
Parameters
isOn
If set to true, the navigation mesh will be displayed, if present
Activates the selected tab by changing its color and sets all other tabs to the background color.
Parameters
selectedTab
The tab image to activate.
Activates the specified menu by enabling its canvas group and disables all other menus.
Parameters
menuToActivate
The canvas group of the menu to activate.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon