Skip to content

HitAreaRenderer

Hit area renderer

Extends

  • Container

Constructors

new HitAreaRenderer()

new HitAreaRenderer(pRoot, pActive, pInterval): HitAreaRenderer

Parameters

pRoot: DisplayObject

pActive: boolean= false

pInterval: number= 0

Returns

HitAreaRenderer

Overrides

Container.constructor

Source

src/input/HitAreaRenderer.ts:28

Accessors

active

get active(): boolean

Gets active

set active(pValue): void

Sets active

Parameters

pValue: boolean

Returns

boolean

Source

src/input/HitAreaRenderer.ts:42


interval

set interval(pValue): void

Sets interval

Parameters

pValue: number

Source

src/input/HitAreaRenderer.ts:61

Methods

clear()

clear(): void

Clears hit area renderer

Returns

void

Source

src/input/HitAreaRenderer.ts:101


renderHitAreas()

renderHitAreas(): void

Renders hit area renderer

Returns

void

Source

src/input/HitAreaRenderer.ts:84


renderSingle()

renderSingle(target): void

Parameters

target: DisplayObject

Returns

void

Source

src/input/HitAreaRenderer.ts:91


update()

update(pDeltaTime): void

Parameters

pDeltaTime: number

Returns

void

Source

src/input/HitAreaRenderer.ts:69