pub struct GroundPlaneConfig {
pub mode: GroundPlaneMode,
pub height: f32,
pub height_is_relative: bool,
pub shadow_blur_iters: u32,
pub shadow_darkness: f32,
pub reflection_intensity: f32,
}Expand description
Ground plane configuration.
Fields§
§mode: GroundPlaneModeRendering mode.
height: f32Height of the ground plane (Y coordinate), used when height_is_relative is false.
height_is_relative: boolWhether height is relative to scene bounds (auto-placed below scene).
shadow_blur_iters: u32Shadow blur iterations (0-5).
shadow_darkness: f32Shadow darkness (0.0 = no shadow, 1.0 = full black).
reflection_intensity: f32Reflection intensity (0.0 = none, 1.0 = full mirror).
Trait Implementations§
Source§impl Clone for GroundPlaneConfig
impl Clone for GroundPlaneConfig
Source§fn clone(&self) -> GroundPlaneConfig
fn clone(&self) -> GroundPlaneConfig
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 GroundPlaneConfig
impl Debug for GroundPlaneConfig
Source§impl Default for GroundPlaneConfig
impl Default for GroundPlaneConfig
Source§impl<'de> Deserialize<'de> for GroundPlaneConfig
impl<'de> Deserialize<'de> for GroundPlaneConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GroundPlaneConfig
impl RefUnwindSafe for GroundPlaneConfig
impl Send for GroundPlaneConfig
impl Sync for GroundPlaneConfig
impl Unpin for GroundPlaneConfig
impl UnsafeUnpin for GroundPlaneConfig
impl UnwindSafe for GroundPlaneConfig
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