#[repr(C)]pub struct SpatialQueryRaycast2 {
pub direction: [f32; 3],
pub min_t: f32,
pub max_t: f32,
pub _pad: u32,
pub common: SpatialQueryCommon2,
}
👎Deprecated
Expand description
Center / origin will be the position of the entity. If you do mouse picking, the camera.
Fields§
§direction: [f32; 3]
👎Deprecated
§min_t: f32
👎Deprecated
§max_t: f32
👎Deprecated
§_pad: u32
👎Deprecated
§common: SpatialQueryCommon2
👎Deprecated
Trait Implementations§
Source§impl Clone for SpatialQueryRaycast2
impl Clone for SpatialQueryRaycast2
Source§fn clone(&self) -> SpatialQueryRaycast2
fn clone(&self) -> SpatialQueryRaycast2
Returns a duplicate 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 moreSource§impl Debug for SpatialQueryRaycast2
impl Debug for SpatialQueryRaycast2
impl Copy for SpatialQueryRaycast2
impl Pod for SpatialQueryRaycast2
Auto Trait Implementations§
impl Freeze for SpatialQueryRaycast2
impl RefUnwindSafe for SpatialQueryRaycast2
impl Send for SpatialQueryRaycast2
impl Sync for SpatialQueryRaycast2
impl Unpin for SpatialQueryRaycast2
impl UnwindSafe for SpatialQueryRaycast2
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.