Struct ark_api_ffi::world_v0::messages::SpatialQueryRaycast2
source · [−]#[repr(C)]pub struct SpatialQueryRaycast2 {
pub direction: [f32; 3],
pub min_t: f32,
pub max_t: f32,
pub _pad: u32,
pub common: SpatialQueryCommon2,
}Expand description
Center / origin will be the position of the entity. If you do mouse picking, the camera. Deprecated 2021-09-23
Fields
direction: [f32; 3]min_t: f32max_t: f32_pad: u32common: SpatialQueryCommon2Trait Implementations
sourceimpl Clone for SpatialQueryRaycast2
impl Clone for SpatialQueryRaycast2
sourcefn clone(&self) -> SpatialQueryRaycast2
fn clone(&self) -> SpatialQueryRaycast2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SpatialQueryRaycast2
impl Debug for SpatialQueryRaycast2
impl Copy for SpatialQueryRaycast2
impl Pod for SpatialQueryRaycast2
Auto Trait Implementations
impl RefUnwindSafe for SpatialQueryRaycast2
impl Send for SpatialQueryRaycast2
impl Sync for SpatialQueryRaycast2
impl Unpin for SpatialQueryRaycast2
impl UnwindSafe for SpatialQueryRaycast2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
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. Read more
sourcefn 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.