Viewer3dPlatformFacts
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
TypeScript#
interface Viewer3dPlatformFactsWhat the rules of a Viewer3dEnginePolicy know a browser by: the platform, and the WebGPU adapter when there is one
Members#
| Member | Kind | Description |
|---|---|---|
| architecture | Property | |
| description | Property | |
| device | Property | |
| mobile | Property | A phone or tablet (navigator.userAgentData.mobile, else the user agent) |
| userAgent | Property | |
| vendor | Property |
architecture#
TypeScript#
architecture?: stringdescription#
TypeScript#
description?: stringdevice#
TypeScript#
device?: stringmobile#
TypeScript#
mobile: booleanA phone or tablet (navigator.userAgentData.mobile, else the user agent)
userAgent#
TypeScript#
userAgent: stringvendor#
TypeScript#
vendor?: string