[−][src]Struct embree::ray_stream::HitN
Implementations
impl HitN
[src]
pub fn new(n: usize) -> HitN
[src]
pub fn any_hit(&self) -> bool
[src]
pub fn hits<'a>(&'a self) -> impl Iterator<Item = bool> + 'a
[src]
pub fn iter(&self) -> SoAHitIter<'_, HitN>ⓘNotable traits for SoAHitIter<'a, T>
impl<'a, T: SoAHit + 'a> Iterator for SoAHitIter<'a, T> type Item = SoAHitRef<'a, T>;
[src]
Notable traits for SoAHitIter<'a, T>
impl<'a, T: SoAHit + 'a> Iterator for SoAHitIter<'a, T> type Item = SoAHitRef<'a, T>;
pub fn iter_hits<'a>(&'a self) -> impl Iterator<Item = SoAHitRef<'_, HitN>> + 'a
[src]
pub fn len(&self) -> usize
[src]
pub unsafe fn as_hitnp(&mut self) -> RTCHitNp
[src]
Trait Implementations
impl SoAHit for HitN
[src]
pub fn normal(&self, i: usize) -> Vector3<f32>
[src]
pub fn set_normal(&mut self, i: usize, n: Vector3<f32>)
[src]
pub fn uv(&self, i: usize) -> (f32, f32)
[src]
pub fn set_u(&mut self, i: usize, u: f32)
[src]
pub fn set_v(&mut self, i: usize, v: f32)
[src]
pub fn prim_id(&self, i: usize) -> u32
[src]
pub fn set_prim_id(&mut self, i: usize, id: u32)
[src]
pub fn geom_id(&self, i: usize) -> u32
[src]
pub fn set_geom_id(&mut self, i: usize, id: u32)
[src]
pub fn inst_id(&self, i: usize) -> u32
[src]
pub fn set_inst_id(&mut self, i: usize, id: u32)
[src]
pub fn hit(&self, i: usize) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for HitN
impl Send for HitN
impl Sync for HitN
impl Unpin for HitN
impl UnwindSafe for HitN
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,