initPlayRealmRuntime
此内容尚不支持你的语言。
initPlayRealmRuntime(
config):Promise<void>
Defined in: playRealmRuntime.ts:163
Boot the shipping runtime against a single in-memory scene snapshot. The host
page has already created app (createWebApp) + bound a GL context; here we
register the snapshot as the sole scene, wire a fetch-backed source, and run.
Parameters
Section titled “Parameters”config
Section titled “config”Returns
Section titled “Returns”Promise<void>