Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / detectDevice

Function: detectDevice() ​

ts
function detectDevice(options?): DeviceProfile;

Defined in: quality/device.ts:106

Parameters ​

ParameterType
options{ renderer?: unknown; navigator?: NavigatorLike; window?: WindowLike; }
options.renderer?unknown
options.navigator?NavigatorLike
options.window?WindowLike

Returns ​

DeviceProfile