Struct roblox::instance::TorsionSpringConstraint [−][src]
pub struct TorsionSpringConstraint<'a> {}Show 28 fields
pub coils: f32, pub current_angle: f32, pub damping: f32, pub limits_enabled: bool, pub max_angle: f32, pub max_torque: f32, pub radius: f32, pub restitution: f32, pub stiffness: f32, pub active: bool, pub attachment0: Option<InstanceRef>, pub attachment1: Option<InstanceRef>, pub color: BrickColor, pub enabled: bool, pub visible: bool, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
Expand description
The TorsionSpringConstraint Instance Class
Fields
coils: f32
current_angle: f32
damping: f32
limits_enabled: bool
max_angle: f32
max_torque: f32
radius: f32
restitution: f32
stiffness: f32
active: bool
Inherited from Constraint
attachment0: Option<InstanceRef>
Inherited from Constraint
attachment1: Option<InstanceRef>
Inherited from Constraint
color: BrickColor
Inherited from Constraint
enabled: bool
Inherited from Constraint
visible: bool
Inherited from Constraint
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>
Inherited from Instance
changed: RBXScriptSignal<&'a str>
Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
Implementations
Creates a new TorsionSpringConstraint object.
Equivalent to Instance.new(“TorsionSpringConstraint”) in Luau.
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for TorsionSpringConstraint<'a>
impl<'a> Send for TorsionSpringConstraint<'a>
impl<'a> Sync for TorsionSpringConstraint<'a>
impl<'a> Unpin for TorsionSpringConstraint<'a>
impl<'a> UnwindSafe for TorsionSpringConstraint<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more