Skip to content
ClassDebugger & Diagnostics@public

DebugPathDisplay ​

Plugin that owns path-debug registration and Pixi geometry projection.

ts
export declare class DebugPathDisplay extends FlxBasic

Constructors ​

ts
constructor()

Constructs a new instance of the DebugPathDisplay class

Properties ​

PropertyModifiersTypeDescription
pathCountreadonlynumber-

Methods ​

add() ​

ts
add(path: FlxPath): void

Parameters:

ParameterTypeDescription
pathFlxPath-

Returns: void

clear() ​

ts
clear(): void

Returns: void

destroy() ​

ts
destroy(): void

Returns: void

drawTo() ​

ts
drawTo(graphics: Graphics, camera: FlxCamera): void

Draws registered paths into an adapter-owned, camera-local layer.

Parameters:

ParameterTypeDescription
graphicsGraphics-
cameraFlxCamera-

Returns: void

remove() ​

ts
remove(path: FlxPath): void

Parameters:

ParameterTypeDescription
pathFlxPath-

Returns: void

Released under the MIT License.