SoftBody

Struct SoftBody 

Source
#[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§shared: Pointer<SoftBody_Shared>§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: i32

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.