s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
WebSurface
chevron_left Classes
class
WebSurface

Properties

data_objectCursordata_objectHasKeyFocusdata_objectInBackgroundModedata_objectIsLimiteddata_objectOnTexturedata_objectPageTitledata_objectScaleFactordata_objectSizedata_objectUrl

Methods

functionsDisposefunctionsTellCharfunctionsTellKeyfunctionsTellMouseButtonfunctionsTellMouseMovefunctionsTellMouseWheel
WebSurface
Enables rendering and interacting with a webpage
class Sandbox .
sealedSandbox.Engine

data_object Properties 9

Cursor
string
HasKeyFocus
bool
Tell the html control if it has key focus currently, controls showing the I-beam cursor in text controls amongst other things
InBackgroundMode
bool
Enable/disable low-resource background mode, where javascript and repaint timers are throttled, resources are more aggressively purged from memory, and audio/video elements are paused. When background mode is enabled, all HTML5 video and audio objects will execute ".pause()" and gain the property "._steam_background_paused = 1". When background mode is disabled, any video or audio objects with that property will resume with ".play()".
IsLimited
bool
OnTexture
TextureChangedDelegate
Called when the texture has changed and should be updated
PageTitle
string
ScaleFactor
float
DPI Scaling factor
Size
Vector2
The size of the browser
Url
string
The current Url

functions Methods 6

Dispose ()
TellChar (unicodeKey, modifiers)
Tell the browser a unicode key has been pressed
TellKey (virtualKeyCode, modifiers, state)
Tell the browser a key has been pressed or released
TellMouseButton (button, state)
Tell the browser a mouse button has been pressed
TellMouseMove (position)
Tell the browser the mouse has moved
TellMouseWheel (delta)
Tell the browser the mouse wheel has moved
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter