pub struct OpticalFacet {
pub albedo: f64,
pub ior: f64,
pub absorption: f64,
}Expand description
Optical response facet — the colour reading of the one EMF spectrum axis in the 10D structure.
Colour and sound are two readings of that same axis. They are not two
materials, and they are not place or spatial axes. This facet reads the
axis. It does not invent a second spectrum and it does not write into
spatial coordinates. A stressed or failed look is a change in this reading
(see MaterialSignature::with_spectrum_stress), not a swapped baked
texture. The game stays an editable construct (cells + records); a baked
picture or frame is not the construct.
Fields§
§albedo: f64Surface diffuse albedo / reflectance in [0.0, 1.0].
ior: f64Refractive index (IOR).
absorption: f64Optical absorption coefficient (1/m).
Trait Implementations§
Source§impl Clone for OpticalFacet
impl Clone for OpticalFacet
Source§impl Debug for OpticalFacet
impl Debug for OpticalFacet
Source§impl PartialEq for OpticalFacet
impl PartialEq for OpticalFacet
impl StructuralPartialEq for OpticalFacet
Auto Trait Implementations§
impl Freeze for OpticalFacet
impl RefUnwindSafe for OpticalFacet
impl Send for OpticalFacet
impl Sync for OpticalFacet
impl Unpin for OpticalFacet
impl UnsafeUnpin for OpticalFacet
impl UnwindSafe for OpticalFacet
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