ParticleSettings

Struct ParticleSettings 

Source
#[repr(C, packed(4))]
pub struct ParticleSettings {
Show 147 fields pub id: ID, pub adt: Pointer<AnimData>, pub boids: Pointer<BoidSettings>, pub fluid: Pointer<SPHFluidSettings>, pub effector_weights: Pointer<EffectorWeights>, pub collision_group: Pointer<Collection>, pub flag: i32, pub _pad1: [i8; 4], pub type_: i16, pub from: i16, pub distr: i16, pub texact: i16, pub phystype: i16, pub rotmode: i16, pub avemode: i16, pub reactevent: i16, pub draw: i32, pub draw_size: f32, pub draw_as: i16, pub childtype: i16, pub _pad2: [i8; 4], pub ren_as: i16, pub subframes: i16, pub draw_col: i16, pub draw_step: i16, pub ren_step: i16, pub hair_step: i16, pub keys_step: i16, pub adapt_angle: i16, pub adapt_pix: i16, pub disp: i16, pub omat: i16, pub interpolation: i16, pub integrator: i16, pub rotfrom: i16, pub kink: i16, pub kink_axis: i16, pub bb_align: i16, pub bb_uv_split: i16, pub bb_anim: i16, pub bb_split_offset: i16, pub bb_tilt: f32, pub bb_rand_tilt: f32, pub bb_offset: [f32; 2], pub bb_size: [f32; 2], pub bb_vel_head: f32, pub bb_vel_tail: f32, pub color_vec_max: f32, pub sta: f32, pub end: f32, pub lifetime: f32, pub randlife: f32, pub timetweak: f32, pub courant_target: f32, pub jitfac: f32, pub eff_hair: f32, pub grid_rand: f32, pub ps_offset: [f32; 1], pub totpart: i32, pub userjit: i32, pub grid_res: i32, pub effector_amount: i32, pub time_flag: i16, pub _pad0: [i8; 6], pub normfac: f32, pub obfac: f32, pub randfac: f32, pub partfac: f32, pub tanfac: f32, pub tanphase: f32, pub reactfac: f32, pub ob_vel: [f32; 3], pub avefac: f32, pub phasefac: f32, pub randrotfac: f32, pub randphasefac: f32, pub mass: f32, pub size: f32, pub randsize: f32, pub acc: [f32; 3], pub dragfac: f32, pub brownfac: f32, pub dampfac: f32, pub randlength: f32, pub child_flag: i32, pub _pad3: [i8; 4], pub child_nbr: i32, pub ren_child_nbr: i32, pub parents: f32, pub childsize: f32, pub childrandsize: f32, pub childrad: f32, pub childflat: f32, pub clumpfac: f32, pub clumppow: f32, pub kink_amp: f32, pub kink_freq: f32, pub kink_shape: f32, pub kink_flat: f32, pub kink_amp_clump: f32, pub kink_extra_steps: i32, pub _pad4: [i8; 4], pub kink_axis_random: f32, pub kink_amp_random: f32, pub rough1: f32, pub rough1_size: f32, pub rough2: f32, pub rough2_size: f32, pub rough2_thres: f32, pub rough_end: f32, pub rough_end_shape: f32, pub clength: f32, pub clength_thres: f32, pub parting_fac: f32, pub parting_min: f32, pub parting_max: f32, pub branch_thres: f32, pub draw_line: [f32; 2], pub path_start: f32, pub path_end: f32, pub trail_count: i32, pub keyed_loops: i32, pub clumpcurve: Pointer<CurveMapping>, pub roughcurve: Pointer<CurveMapping>, pub clump_noise_size: f32, pub bending_random: f32, pub mtex: [Pointer<MTex>; 18], pub dup_group: Pointer<Collection>, pub dupliweights: ListBase, pub force_group: Pointer<Collection>, pub dup_ob: Pointer<Object>, pub bb_ob: Pointer<Object>, pub ipo: Pointer<Ipo>, pub pd: Pointer<PartDeflect>, pub pd2: Pointer<PartDeflect>, pub use_modifier_stack: i16, pub _pad5: [i8; 2], pub shape_flag: i16, pub _pad6: [i8; 2], pub twist: f32, pub _pad8: [i8; 4], pub shape: f32, pub rad_root: f32, pub rad_tip: f32, pub rad_scale: f32, pub twistcurve: Pointer<CurveMapping>, pub _pad7: Pointer<Void>,
}

Fields§

§id: ID§adt: Pointer<AnimData>§boids: Pointer<BoidSettings>§fluid: Pointer<SPHFluidSettings>§effector_weights: Pointer<EffectorWeights>§collision_group: Pointer<Collection>§flag: i32§_pad1: [i8; 4]§type_: i16§from: i16§distr: i16§texact: i16§phystype: i16§rotmode: i16§avemode: i16§reactevent: i16§draw: i32§draw_size: f32§draw_as: i16§childtype: i16§_pad2: [i8; 4]§ren_as: i16§subframes: i16§draw_col: i16§draw_step: i16§ren_step: i16§hair_step: i16§keys_step: i16§adapt_angle: i16§adapt_pix: i16§disp: i16§omat: i16§interpolation: i16§integrator: i16§rotfrom: i16§kink: i16§kink_axis: i16§bb_align: i16§bb_uv_split: i16§bb_anim: i16§bb_split_offset: i16§bb_tilt: f32§bb_rand_tilt: f32§bb_offset: [f32; 2]§bb_size: [f32; 2]§bb_vel_head: f32§bb_vel_tail: f32§color_vec_max: f32§sta: f32§end: f32§lifetime: f32§randlife: f32§timetweak: f32§courant_target: f32§jitfac: f32§eff_hair: f32§grid_rand: f32§ps_offset: [f32; 1]§totpart: i32§userjit: i32§grid_res: i32§effector_amount: i32§time_flag: i16§_pad0: [i8; 6]§normfac: f32§obfac: f32§randfac: f32§partfac: f32§tanfac: f32§tanphase: f32§reactfac: f32§ob_vel: [f32; 3]§avefac: f32§phasefac: f32§randrotfac: f32§randphasefac: f32§mass: f32§size: f32§randsize: f32§acc: [f32; 3]§dragfac: f32§brownfac: f32§dampfac: f32§randlength: f32§child_flag: i32§_pad3: [i8; 4]§child_nbr: i32§ren_child_nbr: i32§parents: f32§childsize: f32§childrandsize: f32§childrad: f32§childflat: f32§clumpfac: f32§clumppow: f32§kink_amp: f32§kink_freq: f32§kink_shape: f32§kink_flat: f32§kink_amp_clump: f32§kink_extra_steps: i32§_pad4: [i8; 4]§kink_axis_random: f32§kink_amp_random: f32§rough1: f32§rough1_size: f32§rough2: f32§rough2_size: f32§rough2_thres: f32§rough_end: f32§rough_end_shape: f32§clength: f32§clength_thres: f32§parting_fac: f32§parting_min: f32§parting_max: f32§branch_thres: f32§draw_line: [f32; 2]§path_start: f32§path_end: f32§trail_count: i32§keyed_loops: i32§clumpcurve: Pointer<CurveMapping>§roughcurve: Pointer<CurveMapping>§clump_noise_size: f32§bending_random: f32§mtex: [Pointer<MTex>; 18]§dup_group: Pointer<Collection>§dupliweights: ListBase§force_group: Pointer<Collection>§dup_ob: Pointer<Object>§bb_ob: Pointer<Object>§ipo: Pointer<Ipo>§pd: Pointer<PartDeflect>§pd2: Pointer<PartDeflect>§use_modifier_stack: i16§_pad5: [i8; 2]§shape_flag: i16§_pad6: [i8; 2]§twist: f32§_pad8: [i8; 4]§shape: f32§rad_root: f32§rad_tip: f32§rad_scale: f32§twistcurve: Pointer<CurveMapping>§_pad7: 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.