Struct roblox::instance::CylindricalConstraint [−][src]
pub struct CylindricalConstraint<'a> {Show 49 fields
pub angular_actuator_type: ActuatorType,
pub angular_limits_enabled: bool,
pub angular_responsiveness: f32,
pub angular_restitution: f32,
pub angular_speed: f32,
pub angular_velocity: f32,
pub current_angle: f32,
pub inclination_angle: f32,
pub lower_angle: f32,
pub motor_max_angular_acceleration: f32,
pub motor_max_torque: f32,
pub rotation_axis_visible: bool,
pub servo_max_torque: f32,
pub target_angle: f32,
pub upper_angle: f32,
pub world_rotation_axis: Vector3,
pub actuator_type: ActuatorType,
pub current_position: f32,
pub limits_enabled: bool,
pub linear_responsiveness: f32,
pub lower_limit: f32,
pub motor_max_acceleration: f32,
pub motor_max_force: f32,
pub restitution: f32,
pub servo_max_force: f32,
pub size: f32,
pub speed: f32,
pub target_position: f32,
pub upper_limit: f32,
pub velocity: 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 CylindricalConstraint Instance Class
Fields
angular_actuator_type: ActuatorTypeangular_limits_enabled: boolangular_responsiveness: f32angular_restitution: f32angular_speed: f32angular_velocity: f32current_angle: f32inclination_angle: f32lower_angle: f32motor_max_angular_acceleration: f32motor_max_torque: f32rotation_axis_visible: boolservo_max_torque: f32target_angle: f32upper_angle: f32world_rotation_axis: Vector3actuator_type: ActuatorTypeInherited from SlidingBallConstraint
current_position: f32Inherited from SlidingBallConstraint
limits_enabled: boolInherited from SlidingBallConstraint
linear_responsiveness: f32Inherited from SlidingBallConstraint
lower_limit: f32Inherited from SlidingBallConstraint
motor_max_acceleration: f32Inherited from SlidingBallConstraint
motor_max_force: f32Inherited from SlidingBallConstraint
restitution: f32Inherited from SlidingBallConstraint
servo_max_force: f32Inherited from SlidingBallConstraint
size: f32Inherited from SlidingBallConstraint
speed: f32Inherited from SlidingBallConstraint
target_position: f32Inherited from SlidingBallConstraint
upper_limit: f32Inherited from SlidingBallConstraint
velocity: f32Inherited from SlidingBallConstraint
active: 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 CylindricalConstraint object.
Equivalent to Instance.new(“CylindricalConstraint”) 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 CylindricalConstraint<'a>
impl<'a> Send for CylindricalConstraint<'a>
impl<'a> Sync for CylindricalConstraint<'a>
impl<'a> Unpin for CylindricalConstraint<'a>
impl<'a> UnwindSafe for CylindricalConstraint<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more