#[repr(C, packed(4))]pub struct SoftBody {Show 54 fields
pub totpoint: i32,
pub totspring: i32,
pub bpoint: Pointer<Nothing>,
pub bspring: Pointer<Nothing>,
pub _pad: i8,
pub msg_lock: i8,
pub msg_value: i16,
pub nodemass: f32,
pub namedVG_Mass: [i8; 64],
pub grav: f32,
pub mediafrict: f32,
pub rklimit: f32,
pub physics_speed: f32,
pub goalspring: f32,
pub goalfrict: f32,
pub mingoal: f32,
pub maxgoal: f32,
pub defgoal: f32,
pub vertgroup: i16,
pub namedVG_Softgoal: [i8; 64],
pub fuzzyness: i16,
pub inspring: f32,
pub infrict: f32,
pub namedVG_Spring_K: [i8; 64],
pub _pad1: [i8; 6],
pub local: i8,
pub solverflags: i8,
pub keys: Pointer<Pointer<SBVertex>>,
pub totpointkey: i32,
pub totkey: i32,
pub secondspring: f32,
pub colball: f32,
pub balldamp: f32,
pub ballstiff: f32,
pub sbc_mode: i16,
pub aeroedge: i16,
pub minloops: i16,
pub maxloops: i16,
pub choke: i16,
pub solver_ID: i16,
pub plastic: i16,
pub springpreload: i16,
pub scratch: Pointer<Nothing>,
pub shearstiff: f32,
pub inpush: f32,
pub shared: Pointer<SoftBody_Shared>,
pub pointcache: Pointer<PointCache>,
pub ptcaches: ListBase,
pub collision_group: Pointer<Collection>,
pub effector_weights: Pointer<EffectorWeights>,
pub lcom: [f32; 3],
pub lrot: [[f32; 3]; 3],
pub lscale: [[f32; 3]; 3],
pub last_frame: i32,
}Fields§
§totpoint: i32§totspring: i32§bpoint: Pointer<Nothing>§bspring: Pointer<Nothing>§_pad: i8§msg_lock: i8§msg_value: i16§nodemass: f32§namedVG_Mass: [i8; 64]§grav: f32§mediafrict: f32§rklimit: f32§physics_speed: f32§goalspring: f32§goalfrict: f32§mingoal: f32§maxgoal: f32§defgoal: f32§vertgroup: i16§namedVG_Softgoal: [i8; 64]§fuzzyness: i16§inspring: f32§infrict: f32§namedVG_Spring_K: [i8; 64]§_pad1: [i8; 6]§local: i8§solverflags: i8§keys: Pointer<Pointer<SBVertex>>§totpointkey: i32§totkey: i32§secondspring: f32§colball: f32§balldamp: f32§ballstiff: f32§sbc_mode: i16§aeroedge: i16§minloops: i16§maxloops: i16§choke: i16§solver_ID: i16§plastic: i16§springpreload: i16§scratch: Pointer<Nothing>§shearstiff: f32§inpush: f32§pointcache: Pointer<PointCache>§ptcaches: ListBase§collision_group: Pointer<Collection>§effector_weights: Pointer<EffectorWeights>§lcom: [f32; 3]§lrot: [[f32; 3]; 3]§lscale: [[f32; 3]; 3]§last_frame: i32Trait Implementations§
Source§impl GeneratedBlendStruct for SoftBody
impl GeneratedBlendStruct for SoftBody
const BLEND_VERSION: Version
const BLEND_POINTER_SIZE: usize = 8usize
const BLEND_ENDIANNESS: Endianness = Endianness::Little
const STRUCT_NAME: &'static str = "SoftBody"
const STRUCT_INDEX: usize = 180usize
const STRUCT_TYPE_INDEX: usize = 252usize
const IS_SYNTHETIC: bool = false
impl PointerTarget<SoftBody> for SoftBody
Auto Trait Implementations§
impl Freeze for SoftBody
impl RefUnwindSafe for SoftBody
impl Send for SoftBody
impl Sync for SoftBody
impl Unpin for SoftBody
impl UnwindSafe for SoftBody
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