pub struct PbrProperties {Show 31 fields
pub base_color: Vec4,
pub metallic: f32,
pub roughness: f32,
pub specular: f32,
pub specular_color: Vec3,
pub emissive_color: Vec3,
pub emissive_intensity: f32,
pub normal_scale: f32,
pub occlusion_strength: f32,
pub alpha_cutoff: f32,
pub ior: f32,
pub transmission: f32,
pub thickness: f32,
pub subsurface_color: Vec3,
pub subsurface_radius: f32,
pub subsurface_power: f32,
pub sheen_color: Vec3,
pub sheen_roughness: f32,
pub clear_coat: f32,
pub clear_coat_roughness: f32,
pub anisotropy: f32,
pub anisotropy_rotation: f32,
pub horizon_fade: f32,
pub reflectance: f32,
pub cloth_sheen_color: Vec3,
pub cloth_sheen_roughness: f32,
pub cloth_normal_scale: f32,
pub dithered_lod_transition: bool,
pub receive_decals: bool,
pub cast_shadow: bool,
pub receive_shadow: bool,
}Fields§
§base_color: Vec4§metallic: f32§roughness: f32§specular: f32§specular_color: Vec3§emissive_color: Vec3§emissive_intensity: f32§normal_scale: f32§occlusion_strength: f32§alpha_cutoff: f32§ior: f32§transmission: f32§thickness: f32§subsurface_color: Vec3§subsurface_radius: f32§subsurface_power: f32§sheen_color: Vec3§sheen_roughness: f32§clear_coat: f32§clear_coat_roughness: f32§anisotropy: f32§anisotropy_rotation: f32§horizon_fade: f32§reflectance: f32§cloth_sheen_color: Vec3§cloth_sheen_roughness: f32§cloth_normal_scale: f32§dithered_lod_transition: bool§receive_decals: bool§cast_shadow: bool§receive_shadow: boolTrait Implementations§
Source§impl Clone for PbrProperties
impl Clone for PbrProperties
Source§impl Debug for PbrProperties
impl Debug for PbrProperties
Auto Trait Implementations§
impl Freeze for PbrProperties
impl RefUnwindSafe for PbrProperties
impl Send for PbrProperties
impl Sync for PbrProperties
impl Unpin for PbrProperties
impl UnsafeUnpin for PbrProperties
impl UnwindSafe for PbrProperties
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,
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.