@rbxts/types 1.0.565 → 1.0.569

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@
7
7
  interface Services {
8
8
  AnalyticsService: AnalyticsService;
9
9
  AnimationClipProvider: AnimationClipProvider;
10
+ AnimationFromVideoCreatorService: AnimationFromVideoCreatorService;
10
11
  AppUpdateService: AppUpdateService;
11
12
  AssetCounterService: AssetCounterService;
12
13
  AssetDeliveryProxy: AssetDeliveryProxy;
@@ -87,6 +88,7 @@ interface Services {
87
88
  Stats: Stats;
88
89
  StudioAssetService: StudioAssetService;
89
90
  StudioDeviceEmulatorService: StudioDeviceEmulatorService;
91
+ StudioPublishService: StudioPublishService;
90
92
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
91
93
  Teams: Teams;
92
94
  TeleportService: TeleportService;
@@ -1639,6 +1641,17 @@ interface AnimationController extends Instance {
1639
1641
  readonly AnimationPlayed: RBXScriptSignal<(animationTrack: AnimationTrack) => void>;
1640
1642
  }
1641
1643
 
1644
+ interface AnimationFromVideoCreatorService extends Instance {
1645
+ /**
1646
+ * **DO NOT USE!**
1647
+ *
1648
+ * This field exists to force TypeScript to recognize this as a nominal type
1649
+ * @hidden
1650
+ * @deprecated
1651
+ */
1652
+ readonly _nominal_AnimationFromVideoCreatorService: unique symbol;
1653
+ }
1654
+
1642
1655
  interface AnimationRigData extends Instance {
1643
1656
  /**
1644
1657
  * **DO NOT USE!**
@@ -2205,7 +2218,7 @@ interface Attachment extends Instance {
2205
2218
  */
2206
2219
  readonly _nominal_Attachment: unique symbol;
2207
2220
  /**
2208
- * Represents the direction of the X-Axis, relative to the Attachment's [Attachment.Rotation](https://developer.roblox.com/en-us/api-reference/property/Attachment/Rotation), as a unit [Vector3](https://developer.roblox.com/api-reference/datatype/Vector3 "Vector3") with a length of 1.
2221
+ * The [Axis](https://developer.roblox.com/en-us/api-reference/property/Attachment/Axis) is the direction of the [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment)'s X-Axis, represented as a unit `Vector3`.
2209
2222
  * Tags: NotReplicated
2210
2223
  */
2211
2224
  Axis: Vector3;
@@ -2215,7 +2228,7 @@ interface Attachment extends Instance {
2215
2228
  *
2216
2229
  * Changes to this property will reflect onto the [Attachment.Position](https://developer.roblox.com/en-us/api-reference/property/Attachment/Position) & [Attachment.Rotation](https://developer.roblox.com/en-us/api-reference/property/Attachment/Rotation) properties of this object.
2217
2230
  *
2218
- * Similarly, a change to either of those properties will reflect onto this property.Represents the CFrame offset of the Attachment.
2231
+ * Similarly, a change to either of those properties will reflect onto this property.
2219
2232
  */
2220
2233
  CFrame: CFrame;
2221
2234
  /**
@@ -2235,7 +2248,7 @@ interface Attachment extends Instance {
2235
2248
  */
2236
2249
  Rotation: Vector3;
2237
2250
  /**
2238
- * Represents the direction of the Y-Axis, relative to the Attachment's [Attachment.Rotation](https://developer.roblox.com/en-us/api-reference/property/Attachment/Rotation), as a unit [Vector3](https://developer.roblox.com/api-reference/datatype/Vector3 "Vector3") with a length of 1.
2251
+ * The [SecondaryAxis](https://developer.roblox.com/en-us/api-reference/property/Attachment/SecondaryAxis) is the direction of the [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment)'s Y-Axis, represented as a unit `Vector3`.
2239
2252
  * Tags: NotReplicated
2240
2253
  */
2241
2254
  SecondaryAxis: Vector3;
@@ -2244,7 +2257,7 @@ interface Attachment extends Instance {
2244
2257
  */
2245
2258
  Visible: boolean;
2246
2259
  /**
2247
- * Represents the direction of the `Attachment|Attachment's` Attachment/Axis|X-Axis`relative to the world, as a unit`DataType/Vector3\` with a length of 1.
2260
+ * Represents the direction of the `Attachment|Attachment's` `Attachment/Axis|X-Axis` relative to the world, as a unit [Vector3](https://developer.roblox.com/en-us/api-reference/datatype/Vector3) with a length of 1.
2248
2261
  * Tags: NotReplicated
2249
2262
  */
2250
2263
  WorldAxis: Vector3;
@@ -6454,11 +6467,11 @@ interface Constraint extends Instance {
6454
6467
  Visible: boolean;
6455
6468
  }
6456
6469
 
6457
- /** An AlignOrientation is a constraint that applies a torque to make its attachments align. Like other constraints, this has two [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment). In this case the two attachments are constrained to be oriented in the same direction but not necessarily the same position.
6470
+ /** An AlignOrientation attempts to constrain its [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0)'s orientation to the goal orientation, which is determined by [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) or [CFrame](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/CFrame) depending on the [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode).
6458
6471
  *
6459
6472
  * ![AlignOrientation Demo](https://developer.roblox.com/assets/blt69a26db492586631/AlignOrientationDemo.gif)
6460
6473
  *
6461
- * By default, this constraint only applies torque on `Constraint/Attachment0|Attachment0's` parent, although it can be configured to apply torque on both attachments. This torque can be limited to a max amount via [AlignOrientation.MaxTorque](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/MaxTorque).
6474
+ * By default, this constraint only applies torque on [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0)'s parent, although it can be configured to apply torque on both attachments. This torque can be limited to a max amount via [AlignOrientation.MaxTorque](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/MaxTorque).
6462
6475
  *
6463
6476
  * **Note**
6464
6477
  *
@@ -6467,16 +6480,16 @@ interface Constraint extends Instance {
6467
6480
  * Primary axis
6468
6481
  * ------------
6469
6482
  *
6470
- * The behavior of an AlignOrientation is determined by its [AlignOrientation.PrimaryAxisOnly](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/PrimaryAxisOnly) property. By default this value is false and an AlignOrientation will work so that the orientation of its Attachment0 exactly matches the orientation of its Attachment1. It will apply torque about all 3 axes to achieve this goal.
6483
+ * The behavior of an AlignOrientation is determined by its [AlignOrientation.PrimaryAxisOnly](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/PrimaryAxisOnly) property. By default this value is false and an AlignOrientation will work so that the orientation of its Attachment0 exactly matches the orientation of its goal. It will apply torque about all 3 axes to achieve this goal.
6471
6484
  *
6472
- * If PrimaryAxisOnly is set to true, then the AlignOrientation will only apply torque if the primary axis of its Attachment0 becomes unaligned with [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1). This means that any rotation about the Attachment0's primary axis will not create a torque.
6485
+ * If PrimaryAxisOnly is set to true, then the AlignOrientation will only apply torque if the primary axis of its Attachment0 becomes unaligned with the goal. This means that any rotation about the Attachment0's primary axis will not create a torque.
6473
6486
  *
6474
6487
  * Torque magnitude
6475
6488
  * ----------------
6476
6489
  *
6477
6490
  * The torque used to constrain an AlignOrientation can either be configured or set to the maximum that constraints allow. Whether the torque is configurable is determined by the [AlignOrientation.RigidityEnabled](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/RigidityEnabled) property.
6478
6491
  *
6479
- * When RigidityEnabled is true, then the physics solver will react as quickly as possible to move the attachments together. This is the same scale of force used to align other constraints, such as prismatics when their attachments are misaligned.
6492
+ * When RigidityEnabled is true, the physics solver reacts as quickly as possible to complete the alignment. This is the same scale of force used to align other constraints, such as prismatics when their attachments are misaligned.
6480
6493
  *
6481
6494
  * When RigidityEnabled is false, then the force will be determined by the MaxTorque, MaxAngularVelocity, and Responsiveness. MaxForce and MaxVelocity are caps to the torque and angular velocity respectively. The actual scale of the torque is determined by the Responsiveness. The mechanism for responsiveness is a little complicated, but put simply the higher the responsiveness, the quicker the constraint will try to reach its goal.
6482
6495
  *
@@ -6501,7 +6514,7 @@ interface AlignOrientation extends Constraint {
6501
6514
  */
6502
6515
  readonly _nominal_AlignOrientation: unique symbol;
6503
6516
  /**
6504
- * Specifies the desired relationship between the primary axes of the two [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment). The constraint will try to maintain this relationship by applying forces within specified limits.
6517
+ * The [AlignType](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/AlignType) specifies the desired relationship between the primary axes of the `AlignOrientation/Attachment0|Attachment0` and the goal. The constraint will try to maintain this relationship by applying forces within specified limits.
6505
6518
  *
6506
6519
  * This property is visible in Studio and meaningful only when [AlignOrientation.PrimaryAxisOnly](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/PrimaryAxisOnly) is set _true_.
6507
6520
  *
@@ -6528,6 +6541,9 @@ interface AlignOrientation extends Constraint {
6528
6541
  * Two perpendicular axes
6529
6542
  */
6530
6543
  AlignType: Enum.AlignType;
6544
+ /**
6545
+ * The orientation of the CFrame determines the goal orientation of the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation) when its [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode) is [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/OrientationAlignmentMode). The translation component of the CFrame is ignored.
6546
+ */
6531
6547
  CFrame: CFrame;
6532
6548
  /**
6533
6549
  * The maximum angular velocity the constraint can use to reach its goal.
@@ -6537,10 +6553,26 @@ interface AlignOrientation extends Constraint {
6537
6553
  * The maximum torque the constraint can use to reach its goal.
6538
6554
  */
6539
6555
  MaxTorque: number;
6556
+ /**
6557
+ * The Mode specifies the way its constraint determines its goal orientation.
6558
+ *
6559
+ * OneAttachment
6560
+ * -------------
6561
+ *
6562
+ * The constraint attempts to match the orientation of [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) to the orientation of [CFrame](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/CFrame). [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) is not used.
6563
+ *
6564
+ * TwoAttachment
6565
+ * -------------
6566
+ *
6567
+ * The constraint attempts to match the orientation of [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) to the orientation of [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1). [CFrame](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/CFrame), [PrimaryAxis](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/PrimaryAxis), and [SecondaryAxis](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/SecondaryAxis) are not used.
6568
+ */
6540
6569
  Mode: Enum.OrientationAlignmentMode;
6570
+ /**
6571
+ * The [PrimaryAxis](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/PrimaryAxis) is the direction of the goal's X-Axis, represented as a unit `Vector3`. This is only used when the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation)'s [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode) is [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/OrientationAlignmentMode).
6572
+ */
6541
6573
  PrimaryAxis: Vector3;
6542
6574
  /**
6543
- * If set to true, then the AlignOrientation will only apply torque if the primary axis of its Attachment0 becomes unaligned with Attachment1. This means that any rotation about the Attachment0's primary axis will not create a torque.
6575
+ * If true, the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation) applies torque if the primary axis of its [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) becomes unaligned with the goal. This means that any rotation about the Attachment0's primary axis will not create a torque.
6544
6576
  */
6545
6577
  PrimaryAxisOnly: boolean;
6546
6578
  /**
@@ -6548,17 +6580,20 @@ interface AlignOrientation extends Constraint {
6548
6580
  */
6549
6581
  ReactionTorqueEnabled: boolean;
6550
6582
  /**
6551
- * Used to control how quickly the constraint will reach its goal. Higher values will cause the attachment to align quicker. Value can be between 5 and 200.
6583
+ * Controls how quickly the constraint will reach its goal. Higher values will cause the attachment to align quicker. Value can be between 5 and 200.
6552
6584
  */
6553
6585
  Responsiveness: number;
6554
6586
  /**
6555
- * When set to true, the solver will react as quickly as possible to align the attachments. When false, the torque is dependent on [AlignOrientation.MaxTorque](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/MaxTorque), [AlignOrientation.MaxAngularVelocity](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/MaxAngularVelocity), and [AlignOrientation.Responsiveness](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Responsiveness).
6587
+ * When true, the solver reacts as quickly as possible to complete the alignment. When false, the torque is dependent on `MaxTorque`, `MaxAngularVelocity`, and `Responsiveness`.
6556
6588
  */
6557
6589
  RigidityEnabled: boolean;
6590
+ /**
6591
+ * The [SecondaryAxis](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/SecondaryAxis) is the direction of the goal's Y-Axis, represented as a unit `Vector3`. This is only used when the [AlignOrientation](https://developer.roblox.com/en-us/api-reference/class/AlignOrientation)'s [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignOrientation/Mode) is [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/OrientationAlignmentMode).
6592
+ */
6558
6593
  SecondaryAxis: Vector3;
6559
6594
  }
6560
6595
 
6561
- /** An AlignPosition is used to apply a force towards a location. Like other constraints, AlignPositions have two [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment). In this case the attachments are constrained to be in the same position, although not necessarily in the same orientation. By default, this constraint only applies forces on [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0), although it can be configured to apply forces on both attachments.
6596
+ /** An AlignPosition attempts to constrain its [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0)'s position to the goal position, which is determined by [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) or [Position](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Position) depending on the [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Mode).
6562
6597
  *
6563
6598
  * ![AlignPosition Demo](https://developer.roblox.com/assets/bltf994f657b0e97add/AlignPositionDemo.gif)
6564
6599
  *
@@ -6574,7 +6609,7 @@ interface AlignOrientation extends Constraint {
6574
6609
  * Force location
6575
6610
  * --------------
6576
6611
  *
6577
- * By default the force created by an AlignPosition is applied to the parent Part of Attachment0 at the Attachment's location. The direction of the force is always towards Attachment1. This means that if the center of mass of the Part is not aligned with the direction of the force, a torque will be applied to the part as well as a force.
6612
+ * By default the force created by an AlignPosition is applied to the parent Part of Attachment0 at the Attachment's location. The direction of the force is always towards the goal. This means that if the center of mass of the Part is not aligned with the direction of the force, a torque will be applied to the part as well as a force.
6578
6613
  *
6579
6614
  * AlignPositions' behaviors can be changed with the [AlignPosition.ApplyAtCenterOfMass](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/ApplyAtCenterOfMass) property. When enabled, the AlignPosition will check if other Parts are rigidly connected to the parent Part of Attachment0. If there are, then the force will be applied at the center of mass of those connected parts. If not, then the force will be applied at the center of mass of the parent part itself.
6580
6615
  *
@@ -6583,7 +6618,7 @@ interface AlignOrientation extends Constraint {
6583
6618
  *
6584
6619
  * The force used to constrain an AlignPosition can either be configured or set to the maximum that constraints allow. Whether the force is configurable is determined by the [AlignPosition.RigidityEnabled](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/RigidityEnabled) property.
6585
6620
  *
6586
- * When RigidityEnabled is true, then the physics solver will react as quickly as possible to move the attachments together. This is the same scale of force used to connect other constraints, such as hinges when their attachments are separated.
6621
+ * When RigidityEnabled is true, the physics solver reacts as quickly as possible to complete the alignment. This is the same scale of force used to connect other constraints, such as hinges when their attachments are separated.
6587
6622
  *
6588
6623
  * When RigidityEnabled is false, then the force will be determined by the [AlignPosition.MaxForce](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/MaxForce), [AlignPosition.MaxVelocity](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/MaxVelocity), and [AlignPosition.Responsiveness](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Responsiveness). MaxForce and MaxVelocity are caps to the force and velocities respectively. The actual scale of the force is determined by the Responsiveness. The mechanism for responsiveness is a little complicated, but put simply the higher the responsiveness, the quicker the constraint will try to reach its goal.
6589
6624
  *
@@ -6614,18 +6649,34 @@ interface AlignPosition extends Constraint {
6614
6649
  * Maximum speed the Attachment can move when converging. Only used if RigidityEnabled is false.
6615
6650
  */
6616
6651
  MaxVelocity: number;
6652
+ /**
6653
+ * The Mode specifies the way its constraint determines its goal.
6654
+ *
6655
+ * OneAttachment
6656
+ * -------------
6657
+ *
6658
+ * The constraint attempts to move [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) to [Position](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Position). [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) is not used.
6659
+ *
6660
+ * TwoAttachment
6661
+ * -------------
6662
+ *
6663
+ * The constraint attempts to move [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) to the position of [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1). [Position](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Position) is not used.
6664
+ */
6617
6665
  Mode: Enum.PositionAlignmentMode;
6666
+ /**
6667
+ * When the constraint's [Mode](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Mode) is set to [OneAttachment](https://developer.roblox.com/en-us/api-reference/enum/PositionAlignmentMode), it uses the [Position](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Position) as a goal to move the [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) to.
6668
+ */
6618
6669
  Position: Vector3;
6619
6670
  /**
6620
- * When true the constraint will apply force on both Attachments to achieve the goal.
6671
+ * If true the constraint applies force on both Attachments to achieve the goal.
6621
6672
  */
6622
6673
  ReactionForceEnabled: boolean;
6623
6674
  /**
6624
- * Used to control how quickly the constraint will reach its goal. Higher values will cause the attachments to move together quicker. Value can be between 5 and 200.
6675
+ * Controls how quickly the constraint reaches its goal. Higher values will cause the attachment(s) to align more rapidly. Value can be between 5 and 200.
6625
6676
  */
6626
6677
  Responsiveness: number;
6627
6678
  /**
6628
- * When set to true, the solver will react as quickly as possible to move the attachments together. When false, the torque is dependent on [AlignPosition.MaxForce](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/MaxForce), [AlignPosition.MaxVelocity](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/MaxVelocity), and [AlignPosition.Responsiveness](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Responsiveness).
6679
+ * If true, the solver reacts as quickly as possible to complete the alignment. If false, the torque is dependent on [MaxForce](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/MaxForce), [MaxVelocity](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/MaxVelocity), and [Responsiveness](https://developer.roblox.com/en-us/api-reference/property/AlignPosition/Responsiveness).
6629
6680
  */
6630
6681
  RigidityEnabled: boolean;
6631
6682
  }
@@ -6956,6 +7007,13 @@ interface Plane extends Constraint {
6956
7007
  readonly _nominal_Plane: unique symbol;
6957
7008
  }
6958
7009
 
7010
+ /** **RigidConstraint** connects the [Attachment0](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment0) and [Attachment1](https://developer.roblox.com/en-us/api-reference/property/Constraint/Attachment1) such that the offset between them remains constant.
7011
+ *
7012
+ * It functions similarly to [WeldConstraint](https://developer.roblox.com/en-us/api-reference/class/WeldConstraint), which uses two [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)s directly. However, this object uses two [Attachment](https://developer.roblox.com/en-us/api-reference/class/Attachment) instead, which makes attaching
7013
+ * accessories to avatars easy to do without code as you can use attachments on the rig.
7014
+ *
7015
+ * In Studio, you can create a RigidConstraint in the Constraints section of the Model tab.
7016
+ */
6959
7017
  interface RigidConstraint extends Constraint {
6960
7018
  /**
6961
7019
  * **DO NOT USE!**
@@ -9196,6 +9254,7 @@ interface Explosion extends Instance {
9196
9254
  * For this reason a new Explosion should be created if the developer wants an explosion to appear at a different position.
9197
9255
  */
9198
9256
  Position: Vector3;
9257
+ TimeScale: number;
9199
9258
  /**
9200
9259
  * This property determines whether or not the visual effect of an [Explosion](https://developer.roblox.com/en-us/api-reference/class/Explosion) is shown or not.
9201
9260
  *
@@ -9578,6 +9637,7 @@ interface Fire extends Instance {
9578
9637
  * Tags: NotReplicated
9579
9638
  */
9580
9639
  Size: number;
9640
+ TimeScale: number;
9581
9641
  }
9582
9642
 
9583
9643
  /** An instance representing a 1D float curve encoded via a sorted list of [FloatCurveKeys](https://developer.roblox.com/en-us/api-reference/datatype/FloatCurveKey).
@@ -13385,6 +13445,7 @@ interface Highlight extends Instance {
13385
13445
  * @deprecated
13386
13446
  */
13387
13447
  readonly _nominal_Highlight: unique symbol;
13448
+ Adornee: Instance | undefined;
13388
13449
  DepthMode: Enum.HighlightDepthMode;
13389
13450
  Enabled: boolean;
13390
13451
  FillColor: Color3;
@@ -20278,6 +20339,18 @@ interface MarketplaceService extends Instance {
20278
20339
  *
20279
20340
  * The number of items the asset has been sold
20280
20341
  *
20342
+ * `SaleAvailabilityLocations`
20343
+ *
20344
+ * Dictionary
20345
+ *
20346
+ * The item's [ProductLocationRestriction](https://developer.roblox.com/en-us/api-reference/enum/ProductLocationRestriction) or sale location setting (e.g. anywhere, Shop only).
20347
+ *
20348
+ * `CanBeSoldInThisGame`
20349
+ *
20350
+ * boolean
20351
+ *
20352
+ * Describes whether the asset is purchasable in the current experience.
20353
+ *
20281
20354
  * **Developer Products and Game Passes**
20282
20355
  *
20283
20356
  * `ProductId`
@@ -24441,7 +24514,7 @@ interface PathfindingLink extends Instance {
24441
24514
  Attachment0: Attachment | undefined;
24442
24515
  Attachment1: Attachment | undefined;
24443
24516
  IsBidirectional: boolean;
24444
- ModifierId: string;
24517
+ Label: string;
24445
24518
  }
24446
24519
 
24447
24520
  /** **Beta Feature** This class is currently a part of the PathfindingModifier beta feature. Eligible developers must enable the feature within Studio and functionality may change.
@@ -24469,11 +24542,11 @@ interface PathfindingModifier extends Instance {
24469
24542
  /**
24470
24543
  * **Beta Feature** This class is currently a part of the PathfindingModifier beta feature. Eligible developers must enable the feature within Studio and functionality may change.
24471
24544
  *
24472
- * For a more detailed overview of the [PathfindingService](”PathfindingService”) and PathfindingModifiers, you can take a look at the [Pathfinding](”`Articles/Pathfinding|Pathfinding`”) article.
24545
+ * For a more detailed overview of the [PathfindingService](PathfindingService) and PathfindingModifiers, you can take a look at the [Pathfinding](`Articles/Pathfinding|Pathfinding`) article.
24473
24546
  *
24474
- * The name of the navigation area inside or on top of the `Part|Part's` volume.
24547
+ * The name of the navigation area inside or on top of the \`Part|Part's\` volume.
24475
24548
  */
24476
- ModifierId: string;
24549
+ Label: string;
24477
24550
  /**
24478
24551
  * Determines if the parts enclosed by the modifier are traversable, even if they would normally be collided with. See [Ignoring Obstacles](https://developer.roblox.com/articles/Pathfinding#ignoring-obstacles) for details.
24479
24552
  */
@@ -27879,6 +27952,7 @@ interface Smoke extends Instance {
27879
27952
  * Tags: NotReplicated
27880
27953
  */
27881
27954
  Size: number;
27955
+ TimeScale: number;
27882
27956
  }
27883
27957
 
27884
27958
  /** SocialService facilitates social functions that impact relationships made on the Roblox platform.
@@ -29030,6 +29104,7 @@ interface Sparkles extends Instance {
29030
29104
  * It should be noted that sparkles have a partial [ParticleEmitter.LightEmission](https://developer.roblox.com/en-us/api-reference/property/ParticleEmitter/LightEmission) effect, so dark colors tend to render more transparent and white colors look very bright.
29031
29105
  */
29032
29106
  SparkleColor: Color3;
29107
+ TimeScale: number;
29033
29108
  }
29034
29109
 
29035
29110
  interface Speaker extends Instance {
@@ -29530,6 +29605,17 @@ interface StudioDeviceEmulatorService extends Instance {
29530
29605
  readonly _nominal_StudioDeviceEmulatorService: unique symbol;
29531
29606
  }
29532
29607
 
29608
+ interface StudioPublishService extends Instance {
29609
+ /**
29610
+ * **DO NOT USE!**
29611
+ *
29612
+ * This field exists to force TypeScript to recognize this as a nominal type
29613
+ * @hidden
29614
+ * @deprecated
29615
+ */
29616
+ readonly _nominal_StudioPublishService: unique symbol;
29617
+ }
29618
+
29533
29619
  interface StudioScriptDebugEventListener extends Instance {
29534
29620
  /**
29535
29621
  * **DO NOT USE!**
@@ -32278,7 +32364,7 @@ interface UserInputService extends Instance {
32278
32364
  * print("Accelerometer enabled!")
32279
32365
  * else
32280
32366
  * print("Accelerometer not enabled!")
32281
- * end
32367
+ * end
32282
32368
  *
32283
32369
  * If the device has an enabled accelerometer, you can get it's current acceleration by using the [UserInputService:GetDeviceAcceleration](https://developer.roblox.com/en-us/api-reference/function/UserInputService/GetDeviceAcceleration) function or track when the device's acceleration changes by using the [UserInputService.DeviceAccelerationChanged](https://developer.roblox.com/en-us/api-reference/event/UserInputService/DeviceAccelerationChanged) event.
32284
32370
  *
@@ -32924,7 +33010,7 @@ interface UserInputService extends Instance {
32924
33010
  *
32925
33011
  * Name
32926
33012
  *
32927
- * Enum.UserInputType.Gamepad1-8<
33013
+ * Enum.UserInputType.Gamepad1-8
32928
33014
  *
32929
33015
  * Valid KeyCodes
32930
33016
  * --------------
@@ -32933,33 +33019,33 @@ interface UserInputService extends Instance {
32933
33019
  *
32934
33020
  * Name
32935
33021
  *
32936
- * Enum.KeyCode.ButtonX<
33022
+ * Enum.KeyCode.ButtonX
32937
33023
  *
32938
- * Enum.KeyCode.ButtonY<
33024
+ * Enum.KeyCode.ButtonY
32939
33025
  *
32940
- * Enum.KeyCode.ButtonA<
33026
+ * Enum.KeyCode.ButtonA
32941
33027
  *
32942
- * Enum.KeyCode.ButtonB<
33028
+ * Enum.KeyCode.ButtonB
32943
33029
  *
32944
- * Enum.KeyCode.ButtonR1<
33030
+ * Enum.KeyCode.ButtonR1
32945
33031
  *
32946
- * Enum.KeyCode.ButtonL1<
33032
+ * Enum.KeyCode.ButtonL1
32947
33033
  *
32948
- * Enum.KeyCode.ButtonR3<
33034
+ * Enum.KeyCode.ButtonR3
32949
33035
  *
32950
- * Enum.KeyCode.ButtonL3<
33036
+ * Enum.KeyCode.ButtonL3
32951
33037
  *
32952
- * Enum.KeyCode.ButtonStart<
33038
+ * Enum.KeyCode.ButtonStart
32953
33039
  *
32954
- * Enum.KeyCode.ButtonSelect<
33040
+ * Enum.KeyCode.ButtonSelect
32955
33041
  *
32956
- * Enum.KeyCode.DPadLeft<
33042
+ * Enum.KeyCode.DPadLeft
32957
33043
  *
32958
- * Enum.KeyCode.DPadRight<
33044
+ * Enum.KeyCode.DPadRight
32959
33045
  *
32960
- * Enum.KeyCode.DPadUp<
33046
+ * Enum.KeyCode.DPadUp
32961
33047
  *
32962
- * Enum.KeyCode.DPadDown<
33048
+ * Enum.KeyCode.DPadDown
32963
33049
  *
32964
33050
  * This can be used to check whether a specific button, such as A, is being held down. For example:
32965
33051
  *
@@ -5866,17 +5866,17 @@ declare namespace Enum {
5866
5866
 
5867
5867
  export const AlwaysOnTop: AlwaysOnTop;
5868
5868
 
5869
- export interface Default {
5870
- Name: "Default";
5869
+ export interface Occluded {
5870
+ Name: "Occluded";
5871
5871
  Value: 1;
5872
5872
  EnumType: EnumType<HighlightDepthMode>;
5873
5873
  }
5874
5874
 
5875
- export const Default: Default;
5875
+ export const Occluded: Occluded;
5876
5876
 
5877
5877
  export function GetEnumItems(this: defined): Array<HighlightDepthMode>
5878
5878
  }
5879
- export type HighlightDepthMode = HighlightDepthMode.AlwaysOnTop | HighlightDepthMode.Default;
5879
+ export type HighlightDepthMode = HighlightDepthMode.AlwaysOnTop | HighlightDepthMode.Occluded;
5880
5880
  export namespace HorizontalAlignment {
5881
5881
  export interface Center {
5882
5882
  Name: "Center";
@@ -1182,6 +1182,17 @@ interface Color3 {
1182
1182
  Lerp(this: Color3, goal: Color3, alpha: number): Color3;
1183
1183
  /** Returns the [hue, saturation, and value](https://en.wikipedia.org/wiki/HSL_and_HSV) of a Color3. This function is the inverse operation of the `Color3.fromHSV` constructor. */
1184
1184
  ToHSV(): LuaTuple<[number, number, number]>;
1185
+ /**
1186
+ * Converts the color to a six-character hexadecimal string representing the color in the format RRGGBB. It is not
1187
+ * prefixed with an octothorpe (#), although this can be concatenated easily.
1188
+ *
1189
+ * The returned string can be provided to `Color3.fromHex` to produce the original color.
1190
+ * ```lua
1191
+ * print(Color3.new(0, 1, 0):ToHex()) --> "00FF00"
1192
+ * print(BrickColor.new("Really red").Color:ToHex()) --> "FF0000"
1193
+ * ```
1194
+ */
1195
+ ToHex(): string;
1185
1196
  }
1186
1197
 
1187
1198
  interface Color3Constructor {
@@ -1191,6 +1202,19 @@ interface Color3Constructor {
1191
1202
  fromHSV: (hue: number, sat: number, val: number) => Color3;
1192
1203
  /** Returns the hue, saturation, and value of a Color3. */
1193
1204
  toHSV: (color: Color3) => LuaTuple<[number, number, number]>;
1205
+ /**
1206
+ * Returns a new Color3 from a six- or three-character [hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal)
1207
+ * format. A preceding octothorpe (#) is ignored, if present. This function interprets the given string as a typical
1208
+ * web hex color in the format RRGGBB or RGB (shorthand for RRGGBB). For example, #FFAA00 produces an orange color,
1209
+ * and is the same as #FA0.
1210
+ *
1211
+ * The color returned can be converted back into hex using `Color3:toHex`, although it is not guaranteed to return
1212
+ * the exact same string as passed to this function.
1213
+ * ```lua
1214
+ * print(Color3.fromHex("#FF0000")) --> 1, 0, 0
1215
+ * ```
1216
+ */
1217
+ fromHex: (hex: string) => Color3;
1194
1218
  /** Returns a Color3 with the given red, green, and blue values. The numbers can range from 0 to 1, defaulting to 0 */
1195
1219
  new (red?: number, green?: number, blue?: number): Color3;
1196
1220
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.565",
3
+ "version": "1.0.569",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },