pub struct LingMaterial {Show 22 fields
pub albedo: u32,
pub roughness: f32,
pub metallic: f32,
pub emission: u32,
pub emission_strength: f32,
pub specular: f32,
pub specular_tint: f32,
pub subsurface: f32,
pub subsurface_color: u32,
pub clearcoat: f32,
pub clearcoat_roughness: f32,
pub transmission: f32,
pub ior: f32,
pub iridescence: f32,
pub sheen: f32,
pub anisotropy: f32,
pub anisotropy_angle: f32,
pub toon_bands: u32,
pub shadow_softness: f32,
pub outline_px: f32,
pub outline_color: u32,
pub highlight_color: u32,
}Fields§
§albedo: u32§roughness: f32§metallic: f32§emission: u32§emission_strength: f32§specular: f32§specular_tint: f32§subsurface: f32§subsurface_color: u32§clearcoat: f32§clearcoat_roughness: f32§transmission: f32§ior: f32§iridescence: f32§sheen: f32§anisotropy: f32§anisotropy_angle: f32§toon_bands: u32§shadow_softness: f32§outline_px: f32§outline_color: u32§highlight_color: u32Trait Implementations§
Source§impl Clone for LingMaterial
impl Clone for LingMaterial
Source§fn clone(&self) -> LingMaterial
fn clone(&self) -> LingMaterial
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 moreSource§impl Debug for LingMaterial
impl Debug for LingMaterial
Auto Trait Implementations§
impl Freeze for LingMaterial
impl RefUnwindSafe for LingMaterial
impl Send for LingMaterial
impl Sync for LingMaterial
impl Unpin for LingMaterial
impl UnsafeUnpin for LingMaterial
impl UnwindSafe for LingMaterial
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more