BrushGpencilSettings

Struct BrushGpencilSettings 

Source
#[repr(C, packed(4))]
pub struct BrushGpencilSettings {
Show 52 fields pub draw_smoothfac: f32, pub fill_factor: f32, pub draw_strength: f32, pub draw_jitter: f32, pub draw_angle: f32, pub draw_angle_factor: f32, pub draw_random_press: f32, pub draw_random_strength: f32, pub draw_smoothlvl: i16, pub draw_subdivide: i16, pub fill_layer_mode: i16, pub fill_direction: i16, pub fill_threshold: f32, pub fill_leak: i16, pub caps_type: i8, pub _pad: i8, pub flag2: i32, pub fill_simplylvl: i32, pub fill_draw_mode: i32, pub icon_id: i32, pub input_samples: i32, pub uv_random: f32, pub brush_type: i32, pub eraser_mode: i32, pub active_smooth: f32, pub era_strength_f: f32, pub era_thickness_f: f32, pub flag: i32, pub gradient_f: f32, pub gradient_s: [f32; 2], pub simplify_f: f32, pub vertex_factor: f32, pub vertex_mode: i32, pub sculpt_flag: i32, pub sculpt_mode_flag: i32, pub preset_type: i16, pub brush_draw_mode: i16, pub random_hue: f32, pub random_saturation: f32, pub random_value: f32, pub fill_extend_fac: f32, pub dilate_pixels: i32, pub curve_sensitivity: Pointer<CurveMapping>, pub curve_strength: Pointer<CurveMapping>, pub curve_jitter: Pointer<CurveMapping>, pub curve_rand_pressure: Pointer<CurveMapping>, pub curve_rand_strength: Pointer<CurveMapping>, pub curve_rand_uv: Pointer<CurveMapping>, pub curve_rand_hue: Pointer<CurveMapping>, pub curve_rand_saturation: Pointer<CurveMapping>, pub curve_rand_value: Pointer<CurveMapping>, pub material: Pointer<Material>,
}

Fields§

§draw_smoothfac: f32§fill_factor: f32§draw_strength: f32§draw_jitter: f32§draw_angle: f32§draw_angle_factor: f32§draw_random_press: f32§draw_random_strength: f32§draw_smoothlvl: i16§draw_subdivide: i16§fill_layer_mode: i16§fill_direction: i16§fill_threshold: f32§fill_leak: i16§caps_type: i8§_pad: i8§flag2: i32§fill_simplylvl: i32§fill_draw_mode: i32§icon_id: i32§input_samples: i32§uv_random: f32§brush_type: i32§eraser_mode: i32§active_smooth: f32§era_strength_f: f32§era_thickness_f: f32§flag: i32§gradient_f: f32§gradient_s: [f32; 2]§simplify_f: f32§vertex_factor: f32§vertex_mode: i32§sculpt_flag: i32§sculpt_mode_flag: i32§preset_type: i16§brush_draw_mode: i16§random_hue: f32§random_saturation: f32§random_value: f32§fill_extend_fac: f32§dilate_pixels: i32§curve_sensitivity: Pointer<CurveMapping>§curve_strength: Pointer<CurveMapping>§curve_jitter: Pointer<CurveMapping>§curve_rand_pressure: Pointer<CurveMapping>§curve_rand_strength: Pointer<CurveMapping>§curve_rand_uv: Pointer<CurveMapping>§curve_rand_hue: Pointer<CurveMapping>§curve_rand_saturation: Pointer<CurveMapping>§curve_rand_value: Pointer<CurveMapping>§material: Pointer<Material>

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.