Enum ark_api::world::SpatialQueryType
source · pub enum SpatialQueryType {
Raycast {
direction: Vec3,
min_distance: f32,
max_distance: f32,
spherecast_radius: f32,
},
}Expand description
Represents a spatial query type for a spatial query request
Variants§
Raycast
Trait Implementations§
source§impl Clone for SpatialQueryType
impl Clone for SpatialQueryType
source§fn clone(&self) -> SpatialQueryType
fn clone(&self) -> SpatialQueryType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpatialQueryType
Auto Trait Implementations§
impl RefUnwindSafe for SpatialQueryType
impl Send for SpatialQueryType
impl Sync for SpatialQueryType
impl Unpin for SpatialQueryType
impl UnwindSafe for SpatialQueryType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more