pub struct BlenderLiveMaterialDelta { /* private fields */ }Expand description
Single Principled BSDF material slider delta posted to POST /blender/delta.
Implementations§
Source§impl BlenderLiveMaterialDelta
impl BlenderLiveMaterialDelta
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_base_color(&self) -> Option<[f32; 4]>
pub fn try_get_base_color(&self) -> Option<[f32; 4]>
pub fn get_mut_base_color(&mut self) -> &mut Option<[f32; 4]>
pub fn set_base_color(&mut self, val: Option<[f32; 4]>) -> &mut Self
pub fn get_metallic(&self) -> Option<f32>
pub fn try_get_metallic(&self) -> Option<f32>
pub fn get_mut_metallic(&mut self) -> &mut Option<f32>
pub fn set_metallic(&mut self, val: Option<f32>) -> &mut Self
pub fn get_roughness(&self) -> Option<f32>
pub fn try_get_roughness(&self) -> Option<f32>
pub fn get_mut_roughness(&mut self) -> &mut Option<f32>
pub fn set_roughness(&mut self, val: Option<f32>) -> &mut Self
pub fn get_ior(&self) -> Option<f32>
pub fn try_get_ior(&self) -> Option<f32>
pub fn get_mut_ior(&mut self) -> &mut Option<f32>
pub fn set_ior(&mut self, val: Option<f32>) -> &mut Self
pub fn get_specular(&self) -> Option<f32>
pub fn try_get_specular(&self) -> Option<f32>
pub fn get_mut_specular(&mut self) -> &mut Option<f32>
pub fn set_specular(&mut self, val: Option<f32>) -> &mut Self
pub fn get_clearcoat(&self) -> Option<f32>
pub fn try_get_clearcoat(&self) -> Option<f32>
pub fn get_mut_clearcoat(&mut self) -> &mut Option<f32>
pub fn set_clearcoat(&mut self, val: Option<f32>) -> &mut Self
pub fn get_clearcoat_roughness(&self) -> Option<f32>
pub fn try_get_clearcoat_roughness(&self) -> Option<f32>
pub fn get_mut_clearcoat_roughness(&mut self) -> &mut Option<f32>
pub fn set_clearcoat_roughness(&mut self, val: Option<f32>) -> &mut Self
pub fn get_transmission(&self) -> Option<f32>
pub fn try_get_transmission(&self) -> Option<f32>
pub fn get_mut_transmission(&mut self) -> &mut Option<f32>
pub fn set_transmission(&mut self, val: Option<f32>) -> &mut Self
pub fn get_sheen(&self) -> Option<f32>
pub fn try_get_sheen(&self) -> Option<f32>
pub fn get_mut_sheen(&mut self) -> &mut Option<f32>
pub fn set_sheen(&mut self, val: Option<f32>) -> &mut Self
pub fn get_sheen_roughness(&self) -> Option<f32>
pub fn try_get_sheen_roughness(&self) -> Option<f32>
pub fn get_mut_sheen_roughness(&mut self) -> &mut Option<f32>
pub fn set_sheen_roughness(&mut self, val: Option<f32>) -> &mut Self
pub fn get_emissive(&self) -> Option<[f32; 3]>
pub fn try_get_emissive(&self) -> Option<[f32; 3]>
pub fn get_mut_emissive(&mut self) -> &mut Option<[f32; 3]>
pub fn set_emissive(&mut self, val: Option<[f32; 3]>) -> &mut Self
pub fn get_emissive_strength(&self) -> Option<f32>
pub fn try_get_emissive_strength(&self) -> Option<f32>
pub fn get_mut_emissive_strength(&mut self) -> &mut Option<f32>
pub fn set_emissive_strength(&mut self, val: Option<f32>) -> &mut Self
Trait Implementations§
Source§impl Clone for BlenderLiveMaterialDelta
impl Clone for BlenderLiveMaterialDelta
Source§impl Debug for BlenderLiveMaterialDelta
impl Debug for BlenderLiveMaterialDelta
Source§impl Default for BlenderLiveMaterialDelta
impl Default for BlenderLiveMaterialDelta
Source§impl<'de> Deserialize<'de> for BlenderLiveMaterialDelta
impl<'de> Deserialize<'de> for BlenderLiveMaterialDelta
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
Source§impl PartialEq for BlenderLiveMaterialDelta
impl PartialEq for BlenderLiveMaterialDelta
Source§impl Serialize for BlenderLiveMaterialDelta
impl Serialize for BlenderLiveMaterialDelta
impl StructuralPartialEq for BlenderLiveMaterialDelta
Auto Trait Implementations§
impl Forget for BlenderLiveMaterialDelta
impl Freeze for BlenderLiveMaterialDelta
impl Move for BlenderLiveMaterialDelta
impl RefUnwindSafe for BlenderLiveMaterialDelta
impl Send for BlenderLiveMaterialDeltawhere
RawVecInner: Send,
impl Sync for BlenderLiveMaterialDeltawhere
RawVecInner: Sync,
impl Unpin for BlenderLiveMaterialDelta
impl UnsafeUnpin for BlenderLiveMaterialDelta
impl UnwindSafe for BlenderLiveMaterialDeltawhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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