View3DShading

Struct View3DShading 

Source
#[repr(C, packed(4))]
pub struct View3DShading {
Show 31 fields pub type_: i8, pub prev_type: i8, pub prev_type_wire: i8, pub color_type: i8, pub flag: i16, pub light: i8, pub background_type: i8, pub cavity_type: i8, pub wire_color_type: i8, pub _pad: [i8; 2], pub studio_light: [i8; 256], pub lookdev_light: [i8; 256], pub matcap: [i8; 256], pub shadow_intensity: f32, pub single_color: [f32; 3], pub studiolight_rot_z: f32, pub studiolight_background: f32, pub studiolight_intensity: f32, pub studiolight_blur: f32, pub object_outline_color: [f32; 3], pub xray_alpha: f32, pub xray_alpha_wire: f32, pub cavity_valley_factor: f32, pub cavity_ridge_factor: f32, pub background_color: [f32; 3], pub curvature_ridge_factor: f32, pub curvature_valley_factor: f32, pub render_pass: i32, pub aov_name: [i8; 64], pub prop: Pointer<IDProperty>, pub _pad2: Pointer<Void>,
}

Fields§

§type_: i8§prev_type: i8§prev_type_wire: i8§color_type: i8§flag: i16§light: i8§background_type: i8§cavity_type: i8§wire_color_type: i8§_pad: [i8; 2]§studio_light: [i8; 256]§lookdev_light: [i8; 256]§matcap: [i8; 256]§shadow_intensity: f32§single_color: [f32; 3]§studiolight_rot_z: f32§studiolight_background: f32§studiolight_intensity: f32§studiolight_blur: f32§object_outline_color: [f32; 3]§xray_alpha: f32§xray_alpha_wire: f32§cavity_valley_factor: f32§cavity_ridge_factor: f32§background_color: [f32; 3]§curvature_ridge_factor: f32§curvature_valley_factor: f32§render_pass: i32§aov_name: [i8; 64]§prop: Pointer<IDProperty>§_pad2: Pointer<Void>

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.