Document and rename bevy::scene::Entity #3233
Labels
A-Scenes
Serialized ECS data stored on the disk
C-Code-Quality
A section of code that is hard to understand or change
C-Docs
An addition or correction to our documentation
C-Usability
A simple quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
How can Bevy's documentation be improved?
This type (docs, source) appears to be used to store reflected entities, along with their components in scenes. However, it is a) completely lacking documentation b) very confusingly named:
Entity
is one of our most important types, and this is closely-related but distinct in important ways.At a glance, this seems to be a reflection-powered serializable representation of an entity and its components. The
entity: u32
field is likely for use withEntity::new()
(the standardEntity
type), and the entireDynamicScene
type is used to spawn groups of entities which contain a number of entities, each with their own run-time defined set of components. TheseDynamicScenes
can be written to file, but not read from.Later in the same file,
EntityMap
is used, which contains a map between entities, in the standardbevy_ecs
sense. This naming convention seems to be fine.My first impulse would be to call this
DynamicEntity
, but please, bikeshed me if you disagree.The text was updated successfully, but these errors were encountered: