Skip to content

Commit 093f43d

Browse files
committed
Grammar
1 parent 4149d40 commit 093f43d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/server/visibility.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ pub trait AppVisibilityExt {
2121
/**
2222
Registers a component as a remote visibility filter.
2323
24-
This component needs be inserted on replicated entities and will be tested against
25-
[`VisibilityFilter::ClientComponent`] on client entities. If [`VisibilityFilter::is_visible`]
26-
returns `false` for the component on a client entity, the associated [`VisibilityFilter::Scope`]
27-
(entity or components) will become hidden for that client.
24+
This component must be inserted on replicated entities and will be evaluated
25+
against [`VisibilityFilter::ClientComponent`] on client entities.
26+
27+
If [`VisibilityFilter::is_visible`] returns `false` for this component on a
28+
client entity, the associated [`VisibilityFilter::Scope`] (entity or components)
29+
will be hidden for that client.
2830
2931
If the component is missing on a replicated entity, it is treated as if
3032
[`VisibilityFilter::is_visible`] would return `false`.

0 commit comments

Comments
 (0)