Trait VisibilityQuery

Source
pub trait VisibilityQuery {
    // Required method
    fn clear(&mut self, from: Vec3, to: Vec3) -> bool;
}
Expand description

True means the host’s authoritative static/dynamic world permits sight. Implementations should ignore the observer/target bodies and enforce layers.

Required Methods§

Source

fn clear(&mut self, from: Vec3, to: Vec3) -> bool

Implementors§