pub struct GenerateNormals {
pub enable: bool,
pub smooth: bool,
pub max_smoothing_angle: f32,
}
Expand description
Arguments for generate_normals
post-process step.
Fields§
§enable: bool
Whether to enable the step. Default: false
smooth: bool
Whether the generated normals are smoothed or not. Default: false
max_smoothing_angle: f32
Maximum angle between two vertex normals used for smoothing. Default: 175.0
Only applies if smooth
is true
.
Trait Implementations§
Source§impl Default for GenerateNormals
impl Default for GenerateNormals
Source§fn default() -> GenerateNormals
fn default() -> GenerateNormals
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GenerateNormals
impl RefUnwindSafe for GenerateNormals
impl Send for GenerateNormals
impl Sync for GenerateNormals
impl Unpin for GenerateNormals
impl UnwindSafe for GenerateNormals
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