Skip to main content

Module scene_file

Module scene_file 

Source

Structs§

EntityRecord
GameManifest
Window settings for an exported game: written to res/game.ron by the editor’s export feature and read by the runtime binary at startup, alongside res/scenes/*.ron.
SceneFile
The on-disk form of a scene: one of an editor project’s scenes/*.ron files, or one of an exported game’s res/scenes/*.ron files — both the editor and the runtime player deserialize this same type. A project can hold more than one (see editor::Project::list_scenes); which one a game boots into is GameManifest::start_scene, and scripts switch between them via scene.change(path) (see crate::scripting’s ScriptScene/WorldCommand::ChangeScene).

Enums§

RenderableAsset
The serializable stand-in for a Renderable: just the source asset path(s) (relative to the project root, or an exported game’s res/ directory) plus the handful of params needed to reconstruct it, since the runtime Renderable itself holds live GPU resources that can’t be serialized.
RenderableKind