[][src]Struct bevy_mod_picking::InteractableMesh

pub struct InteractableMesh { /* fields omitted */ }

Implementations

impl InteractableMesh[src]

pub fn new(groups: Vec<Group>) -> Self[src]

pub fn hover_event(&self, group: &Group) -> Result<&HoverEvents, String>[src]

Returns the current hover event state of the InteractableMesh in the provided group.

pub fn hover(&self, group: &Group) -> Result<&bool, String>[src]

Returns true iff the InteractableMesh is the topost entity in the specified group.

pub fn mouse_down_event_list(
    &self,
    group: &Group
) -> Result<&HashMap<MouseButton, MouseDownEvents>, String>
[src]

Returns the current mousedown event state of the InteractableMesh in the provided group.

pub fn mouse_down_event(
    &self,
    group: &Group,
    button: MouseButton
) -> Result<&MouseDownEvents, String>
[src]

pub fn groups_just_pressed(&self, button: MouseButton) -> HashSet<Group>[src]

Returns a HashSet of Groups in which the current InteractableMesh is just pressed

Trait Implementations

impl Debug for InteractableMesh[src]

impl Default for InteractableMesh[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T> FromResources for T where
    T: Default

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: 'static + Send + Sync

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,