File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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`.
You can’t perform that action at this time.
0 commit comments