ToolSettings

Struct ToolSettings 

Source
#[repr(C, packed(4))]
pub struct ToolSettings {
Show 80 fields pub vpaint: Pointer<VPaint>, pub wpaint: Pointer<VPaint>, pub sculpt: Pointer<Sculpt>, pub uvsculpt: Pointer<UvSculpt>, pub gp_paint: Pointer<GpPaint>, pub gp_vertexpaint: Pointer<GpVertexPaint>, pub gp_sculptpaint: Pointer<GpSculptPaint>, pub gp_weightpaint: Pointer<GpWeightPaint>, pub curves_sculpt: Pointer<CurvesSculpt>, pub vgroup_weight: f32, pub doublimit: f32, pub automerge: i8, pub object_flag: i8, pub selectmode: i8, pub unwrapper: i8, pub uvcalc_flag: i8, pub uv_flag: i8, pub uv_selectmode: i8, pub uv_sticky: i8, pub uvcalc_margin: f32, pub autoik_chainlen: i16, pub gpencil_flags: i8, pub gpencil_v3d_align: i8, pub gpencil_v2d_align: i8, pub _pad0: [i8; 2], pub annotate_v3d_align: i8, pub annotate_thickness: i16, pub gpencil_selectmode_edit: i8, pub gpencil_selectmode_sculpt: i8, pub gp_sculpt: GP_Sculpt_Settings, pub gp_interpolate: GP_Interpolate_Settings, pub imapaint: ImagePaintSettings, pub paint_mode: PaintModeSettings, pub particle: ParticleEditSettings, pub proportional_size: f32, pub select_thresh: f32, pub autokey_flag: i16, pub autokey_mode: i8, pub keyframe_type: i8, pub multires_subdiv_type: i8, pub edge_mode: i8, pub edge_mode_live_unwrap: i8, pub transform_pivot_point: i8, pub transform_flag: i8, pub snap_mode: i8, pub snap_node_mode: i8, pub snap_uv_mode: i8, pub snap_flag: i8, pub snap_flag_node: i8, pub snap_flag_seq: i8, pub snap_uv_flag: i8, pub snap_target: i8, pub snap_transform_mode_flag: i8, pub proportional_edit: i8, pub prop_mode: i8, pub proportional_objects: i8, pub proportional_mask: i8, pub proportional_action: i8, pub proportional_fcurve: i8, pub lock_markers: i8, pub auto_normalize: i8, pub wpaint_lock_relative: i8, pub multipaint: i8, pub weightuser: i8, pub vgroupsubset: i8, pub gpencil_selectmode_vertex: i8, pub uv_sculpt_settings: i8, pub uv_relax_method: i8, pub workspace_tool_type: i8, pub sculpt_paint_settings: i16, pub sculpt_paint_unified_size: i32, pub sculpt_paint_unified_unprojected_radius: f32, pub sculpt_paint_unified_alpha: f32, pub unified_paint_settings: UnifiedPaintSettings, pub curve_paint_settings: CurvePaintSettings, pub statvis: MeshStatVis, pub normal_vector: [f32; 3], pub _pad6: [i8; 4], pub custom_bevel_profile_preset: Pointer<CurveProfile>, pub sequencer_tool_settings: Pointer<SequencerToolSettings>,
}

Fields§

§vpaint: Pointer<VPaint>§wpaint: Pointer<VPaint>§sculpt: Pointer<Sculpt>§uvsculpt: Pointer<UvSculpt>§gp_paint: Pointer<GpPaint>§gp_vertexpaint: Pointer<GpVertexPaint>§gp_sculptpaint: Pointer<GpSculptPaint>§gp_weightpaint: Pointer<GpWeightPaint>§curves_sculpt: Pointer<CurvesSculpt>§vgroup_weight: f32§doublimit: f32§automerge: i8§object_flag: i8§selectmode: i8§unwrapper: i8§uvcalc_flag: i8§uv_flag: i8§uv_selectmode: i8§uv_sticky: i8§uvcalc_margin: f32§autoik_chainlen: i16§gpencil_flags: i8§gpencil_v3d_align: i8§gpencil_v2d_align: i8§_pad0: [i8; 2]§annotate_v3d_align: i8§annotate_thickness: i16§gpencil_selectmode_edit: i8§gpencil_selectmode_sculpt: i8§gp_sculpt: GP_Sculpt_Settings§gp_interpolate: GP_Interpolate_Settings§imapaint: ImagePaintSettings§paint_mode: PaintModeSettings§particle: ParticleEditSettings§proportional_size: f32§select_thresh: f32§autokey_flag: i16§autokey_mode: i8§keyframe_type: i8§multires_subdiv_type: i8§edge_mode: i8§edge_mode_live_unwrap: i8§transform_pivot_point: i8§transform_flag: i8§snap_mode: i8§snap_node_mode: i8§snap_uv_mode: i8§snap_flag: i8§snap_flag_node: i8§snap_flag_seq: i8§snap_uv_flag: i8§snap_target: i8§snap_transform_mode_flag: i8§proportional_edit: i8§prop_mode: i8§proportional_objects: i8§proportional_mask: i8§proportional_action: i8§proportional_fcurve: i8§lock_markers: i8§auto_normalize: i8§wpaint_lock_relative: i8§multipaint: i8§weightuser: i8§vgroupsubset: i8§gpencil_selectmode_vertex: i8§uv_sculpt_settings: i8§uv_relax_method: i8§workspace_tool_type: i8§sculpt_paint_settings: i16§sculpt_paint_unified_size: i32§sculpt_paint_unified_unprojected_radius: f32§sculpt_paint_unified_alpha: f32§unified_paint_settings: UnifiedPaintSettings§curve_paint_settings: CurvePaintSettings§statvis: MeshStatVis§normal_vector: [f32; 3]§_pad6: [i8; 4]§custom_bevel_profile_preset: Pointer<CurveProfile>§sequencer_tool_settings: Pointer<SequencerToolSettings>

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.