Struct roblox::instance::LineForce [−][src]
pub struct LineForce<'a> {Show 24 fields
pub apply_at_center_of_mass: bool,
pub inverse_square_law: bool,
pub magnitude: f32,
pub max_force: f32,
pub reaction_force_enabled: bool,
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 LineForce Instance Class
Fields
apply_at_center_of_mass: boolinverse_square_law: boolmagnitude: f32max_force: f32reaction_force_enabled: boolactive: boolInherited from Constraint
attachment0: Option<InstanceRef>Inherited from Constraint
attachment1: Option<InstanceRef>Inherited from Constraint
color: BrickColorInherited from Constraint
enabled: boolInherited from Constraint
visible: boolInherited from Constraint
archivable: boolInherited from Instance
class_name: &'a strInherited from Instance
name: &'a strInherited from Instance
parent: Option<InstanceRef>Inherited from Instance
roblox_locked: boolInherited from Instance
source_asset_id: i64Inherited 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 LineForce object.
Equivalent to Instance.new(“LineForce”) 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
Auto Trait Implementations
impl<'a> RefUnwindSafe for LineForce<'a>
impl<'a> UnwindSafe for LineForce<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more