pub struct SpringBoneJoint {
pub drag_force: Option<f64>,
pub extensions: Option<FxHashMap<String, FxHashMap<String, Option<Value>>>>,
pub extras: Option<Value>,
pub gravity_dir: Option<[f64; 3]>,
pub gravity_power: Option<f64>,
pub hit_radius: Option<f64>,
pub node: Index<Node>,
pub stiffness: Option<f64>,
}Expand description
A bone joint of VRMCSpringBone.
Fields§
§drag_force: Option<f64>Air resistance. Deceleration force.
extensions: Option<FxHashMap<String, FxHashMap<String, Option<Value>>>>§extras: Option<Value>§gravity_dir: Option<[f64; 3]>The direction of gravity. A gravity other than downward direction also works.
gravity_power: Option<f64>Gravitational acceleration.
hit_radius: Option<f64>The radius of spring sphere.
node: Index<Node>The node index.
stiffness: Option<f64>The force to return to the initial pose.
Trait Implementations§
Source§impl Clone for SpringBoneJoint
impl Clone for SpringBoneJoint
Source§fn clone(&self) -> SpringBoneJoint
fn clone(&self) -> SpringBoneJoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpringBoneJoint
impl Debug for SpringBoneJoint
Source§impl<'de> Deserialize<'de> for SpringBoneJoint
impl<'de> Deserialize<'de> for SpringBoneJoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpringBoneJoint
impl RefUnwindSafe for SpringBoneJoint
impl Send for SpringBoneJoint
impl Sync for SpringBoneJoint
impl Unpin for SpringBoneJoint
impl UnsafeUnpin for SpringBoneJoint
impl UnwindSafe for SpringBoneJoint
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