Developer Site
Blog
Discord
Forum
GitHub
Preparing search index...
The search index is not available
PlayCanvas API Reference
PlayCanvas API Reference
Engine
platform
environment
Variable environment
environment
:
"worker"
|
"browser"
|
"node"
= environment
String identifying the current runtime environment. Either 'browser', 'node' or 'worker'.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Developer Site
Blog
Discord
Forum
GitHub
PlayCanvas API Reference
Loading...
String identifying the current runtime environment. Either 'browser', 'node' or 'worker'.