跳到正文

共享场景宿主契约

共享场景宿主契约的安装方式、公开接口、使用示例与当前约束。

Platform-neutral native scene host interfaces for @quajs/renderer-scene. Hosts implement transient nodes/resources, logical projection, input, audio, fonts, storage and optional capture. This package contains types only, with no bootstrap or game state.

@quajs/cocos-host re-exports the same interfaces with Cocos names. @quajs/godot-host implements them using native Godot nodes. Declare optional capabilities truthfully so shared feature plugins can warn or fall back.

在 GitHub 查看 / 改进本页来源