Reference·JavaScript · @bimworks/viewercommonJavaScript

Viewer3dPlatformFacts

Interface in @bimworks/viewercommon.

API catalogue · @bimworks/viewercommon · Interface

TypeScript#
interface Viewer3dPlatformFacts

What 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?: string

description#

TypeScript#
description?: string

device#

TypeScript#
device?: string

mobile#

TypeScript#
mobile: boolean

A phone or tablet (navigator.userAgentData.mobile, else the user agent)

userAgent#

TypeScript#
userAgent: string

vendor#

TypeScript#
vendor?: string