Package openmw.debugΒΆ

openmw.debug is an interface to the engine debug utils.

Can be used only by local scripts, that are attached to a player.

Usage:

local debug = require('openmw.debug')

Type debug

debug.NAV_MESH_RENDER_MODE

Navigation mesh rendering mode values

debug.RENDER_MODE

Rendering mode values

debug.setNavMeshRenderMode(value)

Sets navigation mesh rendering mode

debug.toggleRenderMode(value)

Toggles rendering mode

Type NAV_MESH_RENDER_MODE

NAV_MESH_RENDER_MODE.AreaType
NAV_MESH_RENDER_MODE.UpdateFrequency

Type RENDER_MODE

RENDER_MODE.ActorsPaths
RENDER_MODE.CollisionDebug
RENDER_MODE.NavMesh
RENDER_MODE.Pathgrid
RENDER_MODE.RecastMesh
RENDER_MODE.Scene
RENDER_MODE.Water
RENDER_MODE.Wireframe

Type debug

Field(s)

#NAV_MESH_RENDER_MODE debug.NAV_MESH_RENDER_MODE

Navigation mesh rendering mode values

#RENDER_MODE debug.RENDER_MODE

Rendering mode values

debug.setNavMeshRenderMode(value)

Sets navigation mesh rendering mode

Parameter

debug.toggleRenderMode(value)

Toggles rendering mode

Parameter

Type NAV_MESH_RENDER_MODE

Navigation mesh rendering modes

Field(s)

#number NAV_MESH_RENDER_MODE.AreaType
#number NAV_MESH_RENDER_MODE.UpdateFrequency

Type RENDER_MODE

Rendering modes

Field(s)

#number RENDER_MODE.ActorsPaths
#number RENDER_MODE.CollisionDebug
#number RENDER_MODE.NavMesh
#number RENDER_MODE.Pathgrid
#number RENDER_MODE.RecastMesh
#number RENDER_MODE.Scene
#number RENDER_MODE.Water
#number RENDER_MODE.Wireframe