hudManager.onHeight

onHeight(onHeight): void

Register a callback that returns the height of this HUD element.

Parameters

onHeight

Function

Function returning the height in pixels.

Returns

void

Example

hudManager.onHeight(() => { return 20; });

Last updated