Struct roblox::instance::PrismaticConstraint[][src]

pub struct PrismaticConstraint<'a> {
Show 33 fields 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 PrismaticConstraint Instance Class

View Roblox documentation

Fields

actuator_type: ActuatorType

Inherited from SlidingBallConstraint

current_position: f32

Inherited from SlidingBallConstraint

limits_enabled: bool

Inherited from SlidingBallConstraint

linear_responsiveness: f32

Inherited from SlidingBallConstraint

lower_limit: f32

Inherited from SlidingBallConstraint

motor_max_acceleration: f32

Inherited from SlidingBallConstraint

motor_max_force: f32

Inherited from SlidingBallConstraint

restitution: f32

Inherited from SlidingBallConstraint

servo_max_force: f32

Inherited from SlidingBallConstraint

size: f32

Inherited from SlidingBallConstraint

speed: f32

Inherited from SlidingBallConstraint

target_position: f32

Inherited from SlidingBallConstraint

upper_limit: f32

Inherited from SlidingBallConstraint

velocity: f32

Inherited from SlidingBallConstraint

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 PrismaticConstraint object.

Equivalent to Instance.new(“PrismaticConstraint”) in Luau.

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.