pub struct SceneRayOptions {
pub min_t: f64,
pub max_t: f64,
pub cull: Cull,
}Expand description
Options for Scene::raycast, in world units.
Fields§
§min_t: f64Smallest world distance that counts as a hit (inclusive). Default 0.0.
max_t: f64Largest world distance that counts as a hit (inclusive). Default
f64::INFINITY.
cull: CullWhich faces to ignore. Default Cull::None.
Trait Implementations§
Source§impl Clone for SceneRayOptions
impl Clone for SceneRayOptions
Source§fn clone(&self) -> SceneRayOptions
fn clone(&self) -> SceneRayOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SceneRayOptions
Source§impl Debug for SceneRayOptions
impl Debug for SceneRayOptions
Source§impl Default for SceneRayOptions
impl Default for SceneRayOptions
Source§impl PartialEq for SceneRayOptions
impl PartialEq for SceneRayOptions
impl StructuralPartialEq for SceneRayOptions
Auto Trait Implementations§
impl Freeze for SceneRayOptions
impl RefUnwindSafe for SceneRayOptions
impl Send for SceneRayOptions
impl Sync for SceneRayOptions
impl Unpin for SceneRayOptions
impl UnsafeUnpin for SceneRayOptions
impl UnwindSafe for SceneRayOptions
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