pub fn script_runtime_set_asset(
runtime: &mut ScriptRuntime,
name: &str,
bytes: Vec<u8>,
)Expand description
Registers asset bytes a script can reach as a blob under assets.name, for
passing to a command like spawn_model. The driver supplies them, bundled or
fetched, so a script can spawn a glb without any file access of its own.