pub struct FieldVizConfig {
pub cols: u32,
pub rows: u32,
pub spacing: f32,
pub update_interval: f32,
pub strength_threshold: f32,
pub max_arrow_scale: f32,
pub z_depth: f32,
pub show_temperature: bool,
pub show_entropy: bool,
pub layer: RenderLayer,
pub blend: BlendMode,
pub arrow_emission: f32,
}Expand description
Configuration for the force field visualization grid.
Fields§
§cols: u32Number of sample columns.
rows: u32Number of sample rows.
spacing: f32Spacing between sample points in world units.
update_interval: f32How often to re-sample (seconds between updates).
strength_threshold: f32Minimum strength to display an arrow.
max_arrow_scale: f32Maximum glyph scale for arrows.
z_depth: f32Z depth for the visualization layer.
show_temperature: boolWhether to show temperature overlay.
show_entropy: boolWhether to show entropy overlay.
layer: RenderLayerRender layer for visualization glyphs.
blend: BlendModeBlend mode for visualization glyphs.
arrow_emission: f32Emission on arrows (for glow).
Implementations§
Trait Implementations§
Source§impl Clone for FieldVizConfig
impl Clone for FieldVizConfig
Source§fn clone(&self) -> FieldVizConfig
fn clone(&self) -> FieldVizConfig
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 FieldVizConfig
impl Debug for FieldVizConfig
Auto Trait Implementations§
impl Freeze for FieldVizConfig
impl RefUnwindSafe for FieldVizConfig
impl Send for FieldVizConfig
impl Sync for FieldVizConfig
impl Unpin for FieldVizConfig
impl UnsafeUnpin for FieldVizConfig
impl UnwindSafe for FieldVizConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.