Debugging

You can find the debug information in the upper-right corner of the Preview. The debug window is excluded from the kzb export.

../_images/preview-debug-window.png

Debug item

Description

Feature

Currently active feature.

ScrollPosX

ScrollPosition.x value of the Scroll View 2D node.

Rotation

Car rotation in degrees.

PopUpVisible

Whether the popup window is currently visible.

InteriorView

Whether the currently active feature is inside the car.

Theme

Currently selected theme:

  • Pure Sky: 0

  • Showroom: 1

CarColor

Current car color:

  • Silver: 0

  • Ruby Red: 1

CarModel

Current car model:

  • Generic: 0

  • SportsCar: 1

CarString

Name of the current car model:

  • RWCar_Root

  • SportsCar_Root

Toggling debug window

To toggle the visibility of the debug window, in the Node Tree, select the RootPage > Debug Stack Layout 2D node and press Ctrl H.

Customizing debug window

To customize the debug window content, remove or add content to the Debug Stack Layout 2D node.

../_images/node-tree-debug.png