#[repr(C, packed(4))]pub struct ClothSimSettings {Show 70 fields
pub cache: Pointer<Nothing>,
pub mingoal: f32,
pub Cdis: f32,
pub Cvi: f32,
pub gravity: [f32; 3],
pub dt: f32,
pub mass: f32,
pub structural: f32,
pub shear: f32,
pub bending: f32,
pub max_bend: f32,
pub max_struct: f32,
pub max_shear: f32,
pub max_sewing: f32,
pub avg_spring_len: f32,
pub timescale: f32,
pub time_scale: f32,
pub maxgoal: f32,
pub eff_force_scale: f32,
pub eff_wind_scale: f32,
pub sim_time_old: f32,
pub defgoal: f32,
pub goalspring: f32,
pub goalfrict: f32,
pub velocity_smooth: f32,
pub density_target: f32,
pub density_strength: f32,
pub collider_friction: f32,
pub vel_damping: f32,
pub shrink_min: f32,
pub shrink_max: f32,
pub uniform_pressure_force: f32,
pub target_volume: f32,
pub pressure_factor: f32,
pub fluid_density: f32,
pub vgroup_pressure: i16,
pub _pad7: [i8; 6],
pub bending_damping: f32,
pub voxel_cell_size: f32,
pub stepsPerFrame: i32,
pub flags: i32,
pub preroll: i32,
pub maxspringlen: i32,
pub solver_type: i16,
pub vgroup_bend: i16,
pub vgroup_mass: i16,
pub vgroup_struct: i16,
pub vgroup_shrink: i16,
pub shapekey_rest: i16,
pub presets: i16,
pub reset: i16,
pub effector_weights: Pointer<EffectorWeights>,
pub bending_model: i16,
pub vgroup_shear: i16,
pub tension: f32,
pub compression: f32,
pub max_tension: f32,
pub max_compression: f32,
pub tension_damp: f32,
pub compression_damp: f32,
pub shear_damp: f32,
pub internal_spring_max_length: f32,
pub internal_spring_max_diversion: f32,
pub vgroup_intern: i16,
pub _pad1: [i8; 2],
pub internal_tension: f32,
pub internal_compression: f32,
pub max_internal_tension: f32,
pub max_internal_compression: f32,
pub _pad0: [i8; 4],
}Fields§
§cache: Pointer<Nothing>§mingoal: f32§Cdis: f32§Cvi: f32§gravity: [f32; 3]§dt: f32§mass: f32§structural: f32§shear: f32§bending: f32§max_bend: f32§max_struct: f32§max_shear: f32§max_sewing: f32§avg_spring_len: f32§timescale: f32§time_scale: f32§maxgoal: f32§eff_force_scale: f32§eff_wind_scale: f32§sim_time_old: f32§defgoal: f32§goalspring: f32§goalfrict: f32§velocity_smooth: f32§density_target: f32§density_strength: f32§collider_friction: f32§vel_damping: f32§shrink_min: f32§shrink_max: f32§uniform_pressure_force: f32§target_volume: f32§pressure_factor: f32§fluid_density: f32§vgroup_pressure: i16§_pad7: [i8; 6]§bending_damping: f32§voxel_cell_size: f32§stepsPerFrame: i32§flags: i32§preroll: i32§maxspringlen: i32§solver_type: i16§vgroup_bend: i16§vgroup_mass: i16§vgroup_struct: i16§vgroup_shrink: i16§shapekey_rest: i16§presets: i16§reset: i16§effector_weights: Pointer<EffectorWeights>§bending_model: i16§vgroup_shear: i16§tension: f32§compression: f32§max_tension: f32§max_compression: f32§tension_damp: f32§compression_damp: f32§shear_damp: f32§internal_spring_max_length: f32§internal_spring_max_diversion: f32§vgroup_intern: i16§_pad1: [i8; 2]§internal_tension: f32§internal_compression: f32§max_internal_tension: f32§max_internal_compression: f32§_pad0: [i8; 4]Trait Implementations§
Source§impl GeneratedBlendStruct for ClothSimSettings
impl GeneratedBlendStruct for ClothSimSettings
const BLEND_VERSION: Version
const BLEND_POINTER_SIZE: usize = 8usize
const BLEND_ENDIANNESS: Endianness = Endianness::Little
const STRUCT_NAME: &'static str = "ClothSimSettings"
const STRUCT_INDEX: usize = 570usize
const STRUCT_TYPE_INDEX: usize = 173usize
const IS_SYNTHETIC: bool = false
impl PointerTarget<ClothSimSettings> for ClothSimSettings
Auto Trait Implementations§
impl Freeze for ClothSimSettings
impl RefUnwindSafe for ClothSimSettings
impl Send for ClothSimSettings
impl Sync for ClothSimSettings
impl Unpin for ClothSimSettings
impl UnwindSafe for ClothSimSettings
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