#[repr(C, packed(4))]pub struct FluidDomainSettings {Show 185 fields
pub fmd: Pointer<FluidModifierData>,
pub fluid: Pointer<Nothing>,
pub fluid_old: Pointer<Nothing>,
pub fluid_mutex: Pointer<Void>,
pub fluid_group: Pointer<Collection>,
pub force_group: Pointer<Collection>,
pub effector_group: Pointer<Collection>,
pub tex_density: Pointer<Nothing>,
pub tex_color: Pointer<Nothing>,
pub tex_wt: Pointer<Nothing>,
pub tex_shadow: Pointer<Nothing>,
pub tex_flame: Pointer<Nothing>,
pub tex_flame_coba: Pointer<Nothing>,
pub tex_coba: Pointer<Nothing>,
pub tex_field: Pointer<Nothing>,
pub tex_velocity_x: Pointer<Nothing>,
pub tex_velocity_y: Pointer<Nothing>,
pub tex_velocity_z: Pointer<Nothing>,
pub tex_flags: Pointer<Nothing>,
pub tex_range_field: Pointer<Nothing>,
pub guiding_parent: Pointer<Object>,
pub effector_weights: Pointer<EffectorWeights>,
pub p0: [f32; 3],
pub p1: [f32; 3],
pub dp0: [f32; 3],
pub cell_size: [f32; 3],
pub global_size: [f32; 3],
pub prev_loc: [f32; 3],
pub shift: [i32; 3],
pub shift_f: [f32; 3],
pub obj_shift_f: [f32; 3],
pub imat: [[f32; 4]; 4],
pub obmat: [[f32; 4]; 4],
pub fluidmat: [[f32; 4]; 4],
pub fluidmat_wt: [[f32; 4]; 4],
pub base_res: [i32; 3],
pub res_min: [i32; 3],
pub res_max: [i32; 3],
pub res: [i32; 3],
pub total_cells: i32,
pub dx: f32,
pub scale: f32,
pub boundary_width: i32,
pub gravity_final: [f32; 3],
pub adapt_margin: i32,
pub adapt_res: i32,
pub adapt_threshold: f32,
pub maxres: i32,
pub solver_res: i32,
pub border_collisions: i32,
pub flags: i32,
pub gravity: [f32; 3],
pub active_fields: i32,
pub type_: i16,
pub _pad2: [i8; 6],
pub alpha: f32,
pub beta: f32,
pub diss_speed: i32,
pub vorticity: f32,
pub active_color: [f32; 3],
pub highres_sampling: i32,
pub burning_rate: f32,
pub flame_smoke: f32,
pub flame_vorticity: f32,
pub flame_ignition: f32,
pub flame_max_temp: f32,
pub flame_smoke_color: [f32; 3],
pub noise_strength: f32,
pub noise_pos_scale: f32,
pub noise_time_anim: f32,
pub res_noise: [i32; 3],
pub noise_scale: i32,
pub _pad3: [i8; 4],
pub particle_randomness: f32,
pub particle_number: i32,
pub particle_minimum: i32,
pub particle_maximum: i32,
pub particle_radius: f32,
pub particle_band_width: f32,
pub fractions_threshold: f32,
pub fractions_distance: f32,
pub flip_ratio: f32,
pub sys_particle_maximum: i32,
pub simulation_method: i16,
pub _pad4: [i8; 6],
pub viscosity_value: f32,
pub _pad5: [i8; 4],
pub surface_tension: f32,
pub viscosity_base: f32,
pub viscosity_exponent: i32,
pub mesh_concave_upper: f32,
pub mesh_concave_lower: f32,
pub mesh_particle_radius: f32,
pub mesh_smoothen_pos: i32,
pub mesh_smoothen_neg: i32,
pub mesh_scale: i32,
pub mesh_generator: i16,
pub _pad6: [i8; 2],
pub particle_type: i32,
pub particle_scale: i32,
pub sndparticle_tau_min_wc: f32,
pub sndparticle_tau_max_wc: f32,
pub sndparticle_tau_min_ta: f32,
pub sndparticle_tau_max_ta: f32,
pub sndparticle_tau_min_k: f32,
pub sndparticle_tau_max_k: f32,
pub sndparticle_k_wc: i32,
pub sndparticle_k_ta: i32,
pub sndparticle_k_b: f32,
pub sndparticle_k_d: f32,
pub sndparticle_l_min: f32,
pub sndparticle_l_max: f32,
pub sndparticle_potential_radius: i32,
pub sndparticle_update_radius: i32,
pub sndparticle_boundary: i8,
pub sndparticle_combined_export: i8,
pub _pad7: [i8; 6],
pub guiding_alpha: f32,
pub guiding_beta: i32,
pub guiding_vel_factor: f32,
pub guide_res: [i32; 3],
pub guiding_source: i16,
pub _pad8: [i8; 2],
pub cache_frame_start: i32,
pub cache_frame_end: i32,
pub cache_frame_pause_data: i32,
pub cache_frame_pause_noise: i32,
pub cache_frame_pause_mesh: i32,
pub cache_frame_pause_particles: i32,
pub cache_frame_pause_guiding: i32,
pub cache_frame_offset: i32,
pub cache_flag: i32,
pub cache_mesh_format: i8,
pub cache_data_format: i8,
pub cache_particle_format: i8,
pub cache_noise_format: i8,
pub cache_directory: [i8; 1024],
pub error: [i8; 64],
pub cache_type: i16,
pub cache_id: [i8; 4],
pub _pad9: [i8; 2],
pub dt: f32,
pub time_total: f32,
pub time_per_frame: f32,
pub frame_length: f32,
pub time_scale: f32,
pub cfl_condition: f32,
pub timesteps_minimum: i32,
pub timesteps_maximum: i32,
pub slice_per_voxel: f32,
pub slice_depth: f32,
pub display_thickness: f32,
pub grid_scale: f32,
pub coba: Pointer<ColorBand>,
pub vector_scale: f32,
pub gridlines_lower_bound: f32,
pub gridlines_upper_bound: f32,
pub gridlines_range_color: [f32; 4],
pub axis_slice_method: i8,
pub slice_axis: i8,
pub show_gridlines: i8,
pub draw_velocity: i8,
pub vector_draw_type: i8,
pub vector_field: i8,
pub vector_scale_with_magnitude: i8,
pub vector_draw_mac_components: i8,
pub use_coba: i8,
pub coba_field: i8,
pub interp_method: i8,
pub gridlines_color_field: i8,
pub gridlines_cell_filter: i8,
pub _pad10: [i8; 3],
pub velocity_scale: f32,
pub openvdb_compression: i32,
pub clipping: f32,
pub openvdb_data_depth: i8,
pub _pad11: [i8; 7],
pub viewsettings: i32,
pub _pad12: [i8; 4],
pub point_cache: [Pointer<PointCache>; 2],
pub ptcaches: [ListBase; 2],
pub cache_comp: i32,
pub cache_high_comp: i32,
pub cache_file_format: i8,
pub _pad13: [i8; 7],
}Fields§
§fmd: Pointer<FluidModifierData>§fluid: Pointer<Nothing>§fluid_old: Pointer<Nothing>§fluid_mutex: Pointer<Void>§fluid_group: Pointer<Collection>§force_group: Pointer<Collection>§effector_group: Pointer<Collection>§tex_density: Pointer<Nothing>§tex_color: Pointer<Nothing>§tex_wt: Pointer<Nothing>§tex_shadow: Pointer<Nothing>§tex_flame: Pointer<Nothing>§tex_flame_coba: Pointer<Nothing>§tex_coba: Pointer<Nothing>§tex_field: Pointer<Nothing>§tex_velocity_x: Pointer<Nothing>§tex_velocity_y: Pointer<Nothing>§tex_velocity_z: Pointer<Nothing>§tex_flags: Pointer<Nothing>§tex_range_field: Pointer<Nothing>§guiding_parent: Pointer<Object>§effector_weights: Pointer<EffectorWeights>§p0: [f32; 3]§p1: [f32; 3]§dp0: [f32; 3]§cell_size: [f32; 3]§global_size: [f32; 3]§prev_loc: [f32; 3]§shift: [i32; 3]§shift_f: [f32; 3]§obj_shift_f: [f32; 3]§imat: [[f32; 4]; 4]§obmat: [[f32; 4]; 4]§fluidmat: [[f32; 4]; 4]§fluidmat_wt: [[f32; 4]; 4]§base_res: [i32; 3]§res_min: [i32; 3]§res_max: [i32; 3]§res: [i32; 3]§total_cells: i32§dx: f32§scale: f32§boundary_width: i32§gravity_final: [f32; 3]§adapt_margin: i32§adapt_res: i32§adapt_threshold: f32§maxres: i32§solver_res: i32§border_collisions: i32§flags: i32§gravity: [f32; 3]§active_fields: i32§type_: i16§_pad2: [i8; 6]§alpha: f32§beta: f32§diss_speed: i32§vorticity: f32§active_color: [f32; 3]§highres_sampling: i32§burning_rate: f32§flame_smoke: f32§flame_vorticity: f32§flame_ignition: f32§flame_max_temp: f32§flame_smoke_color: [f32; 3]§noise_strength: f32§noise_pos_scale: f32§noise_time_anim: f32§res_noise: [i32; 3]§noise_scale: i32§_pad3: [i8; 4]§particle_randomness: f32§particle_number: i32§particle_minimum: i32§particle_maximum: i32§particle_radius: f32§particle_band_width: f32§fractions_threshold: f32§fractions_distance: f32§flip_ratio: f32§sys_particle_maximum: i32§simulation_method: i16§_pad4: [i8; 6]§viscosity_value: f32§_pad5: [i8; 4]§surface_tension: f32§viscosity_base: f32§viscosity_exponent: i32§mesh_concave_upper: f32§mesh_concave_lower: f32§mesh_particle_radius: f32§mesh_smoothen_pos: i32§mesh_smoothen_neg: i32§mesh_scale: i32§mesh_generator: i16§_pad6: [i8; 2]§particle_type: i32§particle_scale: i32§sndparticle_tau_min_wc: f32§sndparticle_tau_max_wc: f32§sndparticle_tau_min_ta: f32§sndparticle_tau_max_ta: f32§sndparticle_tau_min_k: f32§sndparticle_tau_max_k: f32§sndparticle_k_wc: i32§sndparticle_k_ta: i32§sndparticle_k_b: f32§sndparticle_k_d: f32§sndparticle_l_min: f32§sndparticle_l_max: f32§sndparticle_potential_radius: i32§sndparticle_update_radius: i32§sndparticle_boundary: i8§sndparticle_combined_export: i8§_pad7: [i8; 6]§guiding_alpha: f32§guiding_beta: i32§guiding_vel_factor: f32§guide_res: [i32; 3]§guiding_source: i16§_pad8: [i8; 2]§cache_frame_start: i32§cache_frame_end: i32§cache_frame_pause_data: i32§cache_frame_pause_noise: i32§cache_frame_pause_mesh: i32§cache_frame_pause_particles: i32§cache_frame_pause_guiding: i32§cache_frame_offset: i32§cache_flag: i32§cache_mesh_format: i8§cache_data_format: i8§cache_particle_format: i8§cache_noise_format: i8§cache_directory: [i8; 1024]§error: [i8; 64]§cache_type: i16§cache_id: [i8; 4]§_pad9: [i8; 2]§dt: f32§time_total: f32§time_per_frame: f32§frame_length: f32§time_scale: f32§cfl_condition: f32§timesteps_minimum: i32§timesteps_maximum: i32§slice_per_voxel: f32§slice_depth: f32§display_thickness: f32§grid_scale: f32§coba: Pointer<ColorBand>§vector_scale: f32§gridlines_lower_bound: f32§gridlines_upper_bound: f32§gridlines_range_color: [f32; 4]§axis_slice_method: i8§slice_axis: i8§show_gridlines: i8§draw_velocity: i8§vector_draw_type: i8§vector_field: i8§vector_scale_with_magnitude: i8§vector_draw_mac_components: i8§use_coba: i8§coba_field: i8§interp_method: i8§gridlines_color_field: i8§gridlines_cell_filter: i8§_pad10: [i8; 3]§velocity_scale: f32§openvdb_compression: i32§clipping: f32§openvdb_data_depth: i8§_pad11: [i8; 7]§viewsettings: i32§_pad12: [i8; 4]§point_cache: [Pointer<PointCache>; 2]§ptcaches: [ListBase; 2]§cache_comp: i32§cache_high_comp: i32§cache_file_format: i8§_pad13: [i8; 7]Trait Implementations§
Source§impl GeneratedBlendStruct for FluidDomainSettings
impl GeneratedBlendStruct for FluidDomainSettings
const BLEND_VERSION: Version
const BLEND_POINTER_SIZE: usize = 8usize
const BLEND_ENDIANNESS: Endianness = Endianness::Little
const STRUCT_NAME: &'static str = "FluidDomainSettings"
const STRUCT_INDEX: usize = 669usize
const STRUCT_TYPE_INDEX: usize = 159usize
const IS_SYNTHETIC: bool = false
impl PointerTarget<FluidDomainSettings> for FluidDomainSettings
Auto Trait Implementations§
impl Freeze for FluidDomainSettings
impl RefUnwindSafe for FluidDomainSettings
impl Send for FluidDomainSettings
impl Sync for FluidDomainSettings
impl Unpin for FluidDomainSettings
impl UnwindSafe for FluidDomainSettings
Blanket Implementations§
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