-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Add documentation to VisibleEntities
and related
#5100
Conversation
Add documentation to the `VisibleEntities` component, its related `check_visibility()` system, and that system's label.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. We should add the current limitation that this has no effect on sprites to these docs, to avoid misleading users until that is fixed.
Co-authored-by: James Liu <contact@jamessliu.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do fix the CI checks. Looks like a doc reference is failing.
I've deleted the link. The clippy issue was the missing Ping @alice-i-cecile for merge, pretty please 😉 |
bors r+ |
# Objective Add missing docs ## Solution Add documentation to the `VisibleEntities` component, its related `check_visibility()` system, and that system's label. See Discord discussion here : https://discord.com/channels/691052431525675048/866787577687310356/990432663921901678
VisibleEntities
and relatedVisibleEntities
and related
/// System updating the visibility of entities each frame. | ||
/// | ||
/// The system is labelled with [`VisibilitySystems::CheckVisibility`]. Each frame, it updates the | ||
/// [`ComputedVisibility`] of all entities, and for each view also compute the [`VisibleEntities`] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too late, but ‘computes’
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, sorry I missed that. I'll try to make a new PR when I have some time.
# Objective Add missing docs ## Solution Add documentation to the `VisibleEntities` component, its related `check_visibility()` system, and that system's label. See Discord discussion here : https://discord.com/channels/691052431525675048/866787577687310356/990432663921901678
# Objective Add missing docs ## Solution Add documentation to the `VisibleEntities` component, its related `check_visibility()` system, and that system's label. See Discord discussion here : https://discord.com/channels/691052431525675048/866787577687310356/990432663921901678
# Objective Add missing docs ## Solution Add documentation to the `VisibleEntities` component, its related `check_visibility()` system, and that system's label. See Discord discussion here : https://discord.com/channels/691052431525675048/866787577687310356/990432663921901678
Objective
Add missing docs
Solution
Add documentation to the
VisibleEntities
component, its relatedcheck_visibility()
system, and that system's label.See Discord discussion here : https://discord.com/channels/691052431525675048/866787577687310356/990432663921901678