@rbxts/types 1.0.887 → 1.0.889
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.
- package/include/generated/None.d.ts +411 -16
- package/include/generated/PluginSecurity.d.ts +117 -13
- package/include/generated/enums.d.ts +522 -16
- package/package.json +1 -1
|
@@ -59,6 +59,7 @@ interface Services {
|
|
|
59
59
|
DeviceIdService: DeviceIdService;
|
|
60
60
|
DraggerService: DraggerService;
|
|
61
61
|
EditableService: EditableService;
|
|
62
|
+
EncodingService: EncodingService;
|
|
62
63
|
EventIngestService: EventIngestService;
|
|
63
64
|
ExampleV2Service: ExampleV2Service;
|
|
64
65
|
ExperienceAuthService: ExperienceAuthService;
|
|
@@ -215,9 +216,11 @@ interface Services {
|
|
|
215
216
|
UIDragDetectorService: UIDragDetectorService;
|
|
216
217
|
UniqueIdLookupService: UniqueIdLookupService;
|
|
217
218
|
UnvalidatedAssetService: UnvalidatedAssetService;
|
|
219
|
+
UserGameSettings: UserGameSettings;
|
|
218
220
|
UserInputService: UserInputService;
|
|
219
221
|
UserService: UserService;
|
|
220
222
|
VideoCaptureService: VideoCaptureService;
|
|
223
|
+
VideoScreenCaptureService: VideoScreenCaptureService;
|
|
221
224
|
VideoService: VideoService;
|
|
222
225
|
VisibilityCheckDispatcher: VisibilityCheckDispatcher;
|
|
223
226
|
VisualizationModeService: VisualizationModeService;
|
|
@@ -243,6 +246,8 @@ interface CreatableInstances {
|
|
|
243
246
|
Animation: Animation;
|
|
244
247
|
AnimationConstraint: AnimationConstraint;
|
|
245
248
|
AnimationController: AnimationController;
|
|
249
|
+
AnimationGraphDefinition: AnimationGraphDefinition;
|
|
250
|
+
AnimationNodeDefinition: AnimationNodeDefinition;
|
|
246
251
|
AnimationRigData: AnimationRigData;
|
|
247
252
|
Animator: Animator;
|
|
248
253
|
Annotation: Annotation;
|
|
@@ -698,13 +703,13 @@ interface Instances extends Services, CreatableInstances {
|
|
|
698
703
|
UIConstraint: UIConstraint;
|
|
699
704
|
UIGridStyleLayout: UIGridStyleLayout;
|
|
700
705
|
UILayout: UILayout;
|
|
701
|
-
UserGameSettings: UserGameSettings;
|
|
702
706
|
UserSettings: UserSettings;
|
|
703
707
|
ValueBase: ValueBase;
|
|
704
708
|
WebSocketClient: WebSocketClient;
|
|
705
709
|
WorldRoot: WorldRoot;
|
|
706
710
|
}
|
|
707
711
|
interface Objects extends Instances {
|
|
712
|
+
AnimationNode: AnimationNode;
|
|
708
713
|
Capture: Capture;
|
|
709
714
|
ConfigSnapshot: ConfigSnapshot;
|
|
710
715
|
EditableImage: EditableImage;
|
|
@@ -718,6 +723,7 @@ interface Objects extends Instances {
|
|
|
718
723
|
TerrainReadOperation: TerrainReadOperation;
|
|
719
724
|
TerrainWriteOperation: TerrainWriteOperation;
|
|
720
725
|
VideoCapture: VideoCapture;
|
|
726
|
+
VideoSampler: VideoSampler;
|
|
721
727
|
WebStreamClient: WebStreamClient;
|
|
722
728
|
}
|
|
723
729
|
// GENERATED ROBLOX INSTANCE CLASSES
|
|
@@ -778,6 +784,21 @@ interface RBXObject {
|
|
|
778
784
|
*/
|
|
779
785
|
readonly Changed: unknown;
|
|
780
786
|
}
|
|
787
|
+
/**
|
|
788
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
789
|
+
*
|
|
790
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationNode)
|
|
791
|
+
*/
|
|
792
|
+
interface AnimationNode extends RBXObject {
|
|
793
|
+
/**
|
|
794
|
+
* **DO NOT USE!**
|
|
795
|
+
*
|
|
796
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
797
|
+
* @hidden
|
|
798
|
+
* @deprecated
|
|
799
|
+
*/
|
|
800
|
+
readonly _nominal_AnimationNode: unique symbol;
|
|
801
|
+
}
|
|
781
802
|
/**
|
|
782
803
|
* - **Tags**: NotCreatable, NotReplicated
|
|
783
804
|
*
|
|
@@ -2446,6 +2467,16 @@ interface Instance extends RBXObject {
|
|
|
2446
2467
|
* @returns Boolean indicating whether the property is modified from its code‑instantiated default.
|
|
2447
2468
|
*/
|
|
2448
2469
|
IsPropertyModified(this: Instance, property: string): boolean;
|
|
2470
|
+
/**
|
|
2471
|
+
* - **ThreadSafety**: Unsafe
|
|
2472
|
+
* - **Tags**: CustomLuaState
|
|
2473
|
+
*
|
|
2474
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Instance#QueryDescendants)
|
|
2475
|
+
* @param this `Instance` is the base class for all classes in the Roblox class hierarchy which can be part of the `DataModel` tree.
|
|
2476
|
+
* @param selector Selector string used to filter elements.
|
|
2477
|
+
* @returns An array of instances (empty if nothing matched the selector).
|
|
2478
|
+
*/
|
|
2479
|
+
QueryDescendants(this: Instance, selector: string): Array<Instance>;
|
|
2449
2480
|
/**
|
|
2450
2481
|
* Removes a tag from the instance.
|
|
2451
2482
|
*
|
|
@@ -3132,6 +3163,19 @@ interface AnimationClip extends Instance {
|
|
|
3132
3163
|
*/
|
|
3133
3164
|
Priority: Enum.AnimationPriority;
|
|
3134
3165
|
}
|
|
3166
|
+
/**
|
|
3167
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationGraphDefinition)
|
|
3168
|
+
*/
|
|
3169
|
+
interface AnimationGraphDefinition extends AnimationClip {
|
|
3170
|
+
/**
|
|
3171
|
+
* **DO NOT USE!**
|
|
3172
|
+
*
|
|
3173
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3174
|
+
* @hidden
|
|
3175
|
+
* @deprecated
|
|
3176
|
+
*/
|
|
3177
|
+
readonly _nominal_AnimationGraphDefinition: unique symbol;
|
|
3178
|
+
}
|
|
3135
3179
|
/**
|
|
3136
3180
|
* Stores animation data in the form of curves for each individual channel to animate.
|
|
3137
3181
|
*
|
|
@@ -3352,6 +3396,43 @@ interface AnimationFromVideoCreatorStudioService extends Instance {
|
|
|
3352
3396
|
*/
|
|
3353
3397
|
readonly _nominal_AnimationFromVideoCreatorStudioService: unique symbol;
|
|
3354
3398
|
}
|
|
3399
|
+
/**
|
|
3400
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationNodeDefinition)
|
|
3401
|
+
*/
|
|
3402
|
+
interface AnimationNodeDefinition extends Instance {
|
|
3403
|
+
/**
|
|
3404
|
+
* **DO NOT USE!**
|
|
3405
|
+
*
|
|
3406
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
3407
|
+
* @hidden
|
|
3408
|
+
* @deprecated
|
|
3409
|
+
*/
|
|
3410
|
+
readonly _nominal_AnimationNodeDefinition: unique symbol;
|
|
3411
|
+
/**
|
|
3412
|
+
* - **ThreadSafety**: ReadSafe
|
|
3413
|
+
*
|
|
3414
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationNodeDefinition#NodeType)
|
|
3415
|
+
*/
|
|
3416
|
+
NodeType: Enum.AnimationNodeType;
|
|
3417
|
+
/**
|
|
3418
|
+
* - **ThreadSafety**: Unsafe
|
|
3419
|
+
*
|
|
3420
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationNodeDefinition#GetConnectedWires)
|
|
3421
|
+
*/
|
|
3422
|
+
GetConnectedWires(this: AnimationNodeDefinition, pin: string): Array<Instance>;
|
|
3423
|
+
/**
|
|
3424
|
+
* - **ThreadSafety**: Unsafe
|
|
3425
|
+
*
|
|
3426
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationNodeDefinition#GetInputPins)
|
|
3427
|
+
*/
|
|
3428
|
+
GetInputPins(this: AnimationNodeDefinition): Array<unknown>;
|
|
3429
|
+
/**
|
|
3430
|
+
* - **ThreadSafety**: Unsafe
|
|
3431
|
+
*
|
|
3432
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationNodeDefinition#GetOutputPins)
|
|
3433
|
+
*/
|
|
3434
|
+
GetOutputPins(this: AnimationNodeDefinition): Array<unknown>;
|
|
3435
|
+
}
|
|
3355
3436
|
/**
|
|
3356
3437
|
* Used to store information regarding the model an animation was authored for.
|
|
3357
3438
|
*
|
|
@@ -3553,6 +3634,18 @@ interface AnimationTrack extends Instance {
|
|
|
3553
3634
|
* @returns The signal created and fired when the animation reaches the created `KeyframeMarker`.
|
|
3554
3635
|
*/
|
|
3555
3636
|
GetMarkerReachedSignal(this: AnimationTrack, name: string): RBXScriptSignal<(param?: string) => void>;
|
|
3637
|
+
/**
|
|
3638
|
+
* - **ThreadSafety**: Unsafe
|
|
3639
|
+
*
|
|
3640
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationTrack#GetParameter)
|
|
3641
|
+
*/
|
|
3642
|
+
GetParameter(this: AnimationTrack, key: string): unknown;
|
|
3643
|
+
/**
|
|
3644
|
+
* - **ThreadSafety**: Unsafe
|
|
3645
|
+
*
|
|
3646
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationTrack#GetParameterDefaults)
|
|
3647
|
+
*/
|
|
3648
|
+
GetParameterDefaults(this: AnimationTrack): object;
|
|
3556
3649
|
/**
|
|
3557
3650
|
* - **ThreadSafety**: Unsafe
|
|
3558
3651
|
*
|
|
@@ -3592,6 +3685,12 @@ interface AnimationTrack extends Instance {
|
|
|
3592
3685
|
* @param speed The playback speed of the animation.
|
|
3593
3686
|
*/
|
|
3594
3687
|
Play(this: AnimationTrack, fadeTime?: number, weight?: number, speed?: number): void;
|
|
3688
|
+
/**
|
|
3689
|
+
* - **ThreadSafety**: Unsafe
|
|
3690
|
+
*
|
|
3691
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AnimationTrack#SetParameter)
|
|
3692
|
+
*/
|
|
3693
|
+
SetParameter(this: AnimationTrack, key: string, value: unknown): void;
|
|
3595
3694
|
/**
|
|
3596
3695
|
* - **ThreadSafety**: Unsafe
|
|
3597
3696
|
*
|
|
@@ -4110,6 +4209,7 @@ interface AssetService extends Instance {
|
|
|
4110
4209
|
* - `MetalnessMap` — A `Content` object that contains the metalness map. If more than one channel is present, only the red channel is used. Default is `nil`.
|
|
4111
4210
|
* - `NormalMap` — A `Content` object that contains the normal map. Default is `nil`.
|
|
4112
4211
|
* - `RoughnessMap` — A `Content` object that contains the roughness map. If more than one channel is present, only the red channel is used. Default is `nil`.
|
|
4212
|
+
* - `EmissiveMask` — A `Content` object that contains the emissive mask. If more than one channel is present, only the red channel is used. Default is `nil`.
|
|
4113
4213
|
*
|
|
4114
4214
|
*
|
|
4115
4215
|
* @returns A new `SurfaceAppearance` instance with the given maps from the `content` parameter.
|
|
@@ -4193,10 +4293,15 @@ interface AssetService extends Instance {
|
|
|
4193
4293
|
PlaceId: number;
|
|
4194
4294
|
}>;
|
|
4195
4295
|
/**
|
|
4296
|
+
* Loads a `Model` instance given its asset ID. This is the modern replacement for `InsertService:LoadAsset()` and supports loading third-party assets.
|
|
4297
|
+
*
|
|
4196
4298
|
* - **ThreadSafety**: Unsafe
|
|
4197
4299
|
* - **Tags**: Yields
|
|
4198
4300
|
*
|
|
4199
4301
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetService#LoadAssetAsync)
|
|
4302
|
+
* @param this A non-replicated service that handles asset-related queries to the Roblox web API.
|
|
4303
|
+
* @param assetId The asset ID number of the asset being loaded.
|
|
4304
|
+
* @returns A `Model` instance containing the loaded asset.
|
|
4200
4305
|
*/
|
|
4201
4306
|
LoadAssetAsync(this: AssetService, assetId: number): Instance | undefined;
|
|
4202
4307
|
/**
|
|
@@ -6622,8 +6727,6 @@ interface AudioSearchParams extends Instance {
|
|
|
6622
6727
|
/**
|
|
6623
6728
|
* Converts spoken audio into text.
|
|
6624
6729
|
*
|
|
6625
|
-
* - **Tags**: NotBrowsable
|
|
6626
|
-
*
|
|
6627
6730
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioSpeechToText)
|
|
6628
6731
|
*/
|
|
6629
6732
|
interface AudioSpeechToText extends Instance {
|
|
@@ -7409,10 +7512,19 @@ interface AvatarCreationService extends Instance {
|
|
|
7409
7512
|
*/
|
|
7410
7513
|
PrepareAvatarForPreviewAsync(this: AvatarCreationService, humanoidModel: Model): void;
|
|
7411
7514
|
/**
|
|
7515
|
+
* Prompts a `Player` to purchase and create an avatar asset from an `Instance`.
|
|
7516
|
+
*
|
|
7412
7517
|
* - **ThreadSafety**: Unsafe
|
|
7413
7518
|
* - **Tags**: Yields
|
|
7414
7519
|
*
|
|
7415
7520
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#PromptCreateAvatarAssetAsync)
|
|
7521
|
+
* @param this A service to support developer avatar creators.
|
|
7522
|
+
* @param tokenId The ID of a creation token. The token must be valid in that the universe the method is called from is the same universe the token was created for. Furthermore, the token creator must maintain ID verification and [Roblox Premium](https://www.roblox.com/premium/membership). To create a token for utilization in this API, follow the [token creation](../../../production/monetization/avatar-creation-token.md) process. The token's creation type must match the `AvatarAssetType` passed in to the method.
|
|
7523
|
+
* @param player The `Player` intended to be presented with the creation prompt.
|
|
7524
|
+
* @param assetInstance The `Instance` of the avatar asset intended for creation.
|
|
7525
|
+
* @param assetType The `AvatarAssetType` of the expected creation. This must match the creation type of the provided token.
|
|
7526
|
+
* @returns A tuple containing, in order: - An `PromptCreateAssetResult` indicating the result of the creation prompt.
|
|
7527
|
+
* - A string result. In the case of `PromptCreateAssetResult.Success`, this will indicate the asset ID. In the case of any failure enum, this will indicate the resultant error message.
|
|
7416
7528
|
*/
|
|
7417
7529
|
PromptCreateAvatarAssetAsync(this: AvatarCreationService, tokenId: string, player: Player, assetInstance: Instance, assetType: CastsToEnum<Enum.AvatarAssetType>): unknown;
|
|
7418
7530
|
/**
|
|
@@ -7501,6 +7613,8 @@ interface AvatarCreationService extends Instance {
|
|
|
7501
7613
|
*/
|
|
7502
7614
|
ValidateUGCFullBodyAsync(this: AvatarCreationService, player: Player, humanoidDescription: HumanoidDescription): unknown;
|
|
7503
7615
|
/**
|
|
7616
|
+
* Fires when an in-experience-created avatar asset's moderation status has been updated from pending.
|
|
7617
|
+
*
|
|
7504
7618
|
* - **ThreadSafety**: Unsafe
|
|
7505
7619
|
*
|
|
7506
7620
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AvatarCreationService#AvatarAssetModerationCompleted)
|
|
@@ -9803,6 +9917,12 @@ interface BodyPartDescription extends Instance {
|
|
|
9803
9917
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/BodyPartDescription#Color)
|
|
9804
9918
|
*/
|
|
9805
9919
|
Color: Color3;
|
|
9920
|
+
/**
|
|
9921
|
+
* - **ThreadSafety**: ReadSafe
|
|
9922
|
+
*
|
|
9923
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/BodyPartDescription#HeadShape)
|
|
9924
|
+
*/
|
|
9925
|
+
HeadShape: string;
|
|
9806
9926
|
/**
|
|
9807
9927
|
* A reference to the `Instance` that should be applied when applying this `BodyPartDescription`.
|
|
9808
9928
|
*
|
|
@@ -15102,6 +15222,92 @@ interface EditableService extends Instance {
|
|
|
15102
15222
|
*/
|
|
15103
15223
|
readonly _nominal_EditableService: unique symbol;
|
|
15104
15224
|
}
|
|
15225
|
+
/**
|
|
15226
|
+
* Service providing common encoding, hashing, and compression methods.
|
|
15227
|
+
*
|
|
15228
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
15229
|
+
*
|
|
15230
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService)
|
|
15231
|
+
*/
|
|
15232
|
+
interface EncodingService extends Instance {
|
|
15233
|
+
/**
|
|
15234
|
+
* **DO NOT USE!**
|
|
15235
|
+
*
|
|
15236
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
15237
|
+
* @hidden
|
|
15238
|
+
* @deprecated
|
|
15239
|
+
*/
|
|
15240
|
+
readonly _nominal_EncodingService: unique symbol;
|
|
15241
|
+
/**
|
|
15242
|
+
* - **ThreadSafety**: Safe
|
|
15243
|
+
*
|
|
15244
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#Base64Decode)
|
|
15245
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15246
|
+
* @param input `buffer` containing Base64 data to decode
|
|
15247
|
+
* @returns `buffer` with the decoded result
|
|
15248
|
+
*/
|
|
15249
|
+
Base64Decode(this: EncodingService, input: buffer): buffer;
|
|
15250
|
+
/**
|
|
15251
|
+
* - **ThreadSafety**: Safe
|
|
15252
|
+
*
|
|
15253
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#Base64Encode)
|
|
15254
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15255
|
+
* @param input `buffer` containing binary data to encode
|
|
15256
|
+
* @returns `buffer` with the encoded result
|
|
15257
|
+
*/
|
|
15258
|
+
Base64Encode(this: EncodingService, input: buffer): buffer;
|
|
15259
|
+
/**
|
|
15260
|
+
* - **ThreadSafety**: Safe
|
|
15261
|
+
*
|
|
15262
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#CompressBuffer)
|
|
15263
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15264
|
+
* @param input `buffer` with binary data to compress
|
|
15265
|
+
* @param algorithm `CompressionAlgorithm` to use for compression
|
|
15266
|
+
* @param compressionLevel optional integer compression level to use
|
|
15267
|
+
* @returns `buffer` with compressed binary data
|
|
15268
|
+
*/
|
|
15269
|
+
CompressBuffer(this: EncodingService, input: buffer, algorithm: CastsToEnum<Enum.CompressionAlgorithm>, compressionLevel?: number): buffer;
|
|
15270
|
+
/**
|
|
15271
|
+
* - **ThreadSafety**: Safe
|
|
15272
|
+
*
|
|
15273
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#ComputeBufferHash)
|
|
15274
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15275
|
+
* @param input `buffer` with binary data to compute hash for
|
|
15276
|
+
* @param algorithm `HashAlgorithm` cryptographic hash function
|
|
15277
|
+
* @returns `buffer` with the binary data of the hash
|
|
15278
|
+
*/
|
|
15279
|
+
ComputeBufferHash(this: EncodingService, input: buffer, algorithm: CastsToEnum<Enum.HashAlgorithm>): buffer;
|
|
15280
|
+
/**
|
|
15281
|
+
* - **ThreadSafety**: Safe
|
|
15282
|
+
*
|
|
15283
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#ComputeStringHash)
|
|
15284
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15285
|
+
* @param input string to compute the hash for
|
|
15286
|
+
* @param algorithm `HashAlgorithm` cryptographic hash function
|
|
15287
|
+
* @returns String with the binary data of the hash
|
|
15288
|
+
*/
|
|
15289
|
+
ComputeStringHash(this: EncodingService, input: string, algorithm: CastsToEnum<Enum.HashAlgorithm>): string;
|
|
15290
|
+
/**
|
|
15291
|
+
* - **ThreadSafety**: Safe
|
|
15292
|
+
*
|
|
15293
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#DecompressBuffer)
|
|
15294
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15295
|
+
* @param input `buffer` with compressed binary data
|
|
15296
|
+
* @param algorithm `CompressionAlgorithm` to use for decompression
|
|
15297
|
+
* @returns `buffer` with the decompressed binary data
|
|
15298
|
+
*/
|
|
15299
|
+
DecompressBuffer(this: EncodingService, input: buffer, algorithm: CastsToEnum<Enum.CompressionAlgorithm>): buffer;
|
|
15300
|
+
/**
|
|
15301
|
+
* - **ThreadSafety**: Safe
|
|
15302
|
+
*
|
|
15303
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EncodingService#GetDecompressedBufferSize)
|
|
15304
|
+
* @param this Service providing common encoding, hashing, and compression methods.
|
|
15305
|
+
* @param input `buffer` with compressed binary data
|
|
15306
|
+
* @param algorithm `CompressionAlgorithm` used to compress it
|
|
15307
|
+
* @returns Integer size of the decompressed data or 'nil'
|
|
15308
|
+
*/
|
|
15309
|
+
GetDecompressedBufferSize(this: EncodingService, input: buffer, algorithm: CastsToEnum<Enum.CompressionAlgorithm>): number | undefined;
|
|
15310
|
+
}
|
|
15105
15311
|
/**
|
|
15106
15312
|
* Represents a 3D rotation curve through a group of three `FloatCurves`.
|
|
15107
15313
|
*
|
|
@@ -15903,7 +16109,7 @@ interface FeatureRestrictionManager extends Instance {
|
|
|
15903
16109
|
readonly _nominal_FeatureRestrictionManager: unique symbol;
|
|
15904
16110
|
}
|
|
15905
16111
|
/**
|
|
15906
|
-
* A particle emitter with the visual aesthetic of fire.
|
|
16112
|
+
* A preconfigured particle emitter with the visual aesthetic of fire.
|
|
15907
16113
|
*
|
|
15908
16114
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Fire)
|
|
15909
16115
|
*/
|
|
@@ -15942,6 +16148,8 @@ interface Fire extends Instance {
|
|
|
15942
16148
|
*/
|
|
15943
16149
|
Heat: number;
|
|
15944
16150
|
/**
|
|
16151
|
+
* A multiplier for the `Fire` object's transparency that is only visible to the local client.
|
|
16152
|
+
*
|
|
15945
16153
|
* - **ThreadSafety**: ReadSafe
|
|
15946
16154
|
* - **Tags**: Hidden, NotReplicated
|
|
15947
16155
|
*
|
|
@@ -15966,7 +16174,7 @@ interface Fire extends Instance {
|
|
|
15966
16174
|
*/
|
|
15967
16175
|
Size: number;
|
|
15968
16176
|
/**
|
|
15969
|
-
*
|
|
16177
|
+
* Controls the speed of the particle effect.
|
|
15970
16178
|
*
|
|
15971
16179
|
* - **ThreadSafety**: ReadSafe
|
|
15972
16180
|
*
|
|
@@ -16304,6 +16512,13 @@ interface GeometryService extends Instance {
|
|
|
16304
16512
|
* | `NoCollisionConstraintPart1` | `Class.BasePart` |
|
|
16305
16513
|
*/
|
|
16306
16514
|
CalculateConstraintsToPreserve(this: GeometryService, source: Instance, destination: ReadonlyArray<Instance>, options?: CalculateConstraintsToPreserveConfig): Array<unknown>;
|
|
16515
|
+
/**
|
|
16516
|
+
* - **ThreadSafety**: Unsafe
|
|
16517
|
+
* - **Tags**: Yields
|
|
16518
|
+
*
|
|
16519
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GeometryService#FragmentAsync)
|
|
16520
|
+
*/
|
|
16521
|
+
FragmentAsync(this: GeometryService, part: BasePart, fragmentSites: Array<unknown>, options?: object, mainPartSites?: Array<unknown>): Array<unknown>;
|
|
16307
16522
|
/**
|
|
16308
16523
|
* Creates one or more `PartOperations` from the intersecting geometry of one part and other parts.
|
|
16309
16524
|
*
|
|
@@ -27079,12 +27294,16 @@ interface MaterialVariant extends Instance {
|
|
|
27079
27294
|
*/
|
|
27080
27295
|
CustomPhysicalProperties: PhysicalProperties;
|
|
27081
27296
|
/**
|
|
27297
|
+
* Determines the strength of emissive contribution.
|
|
27298
|
+
*
|
|
27082
27299
|
* - **ThreadSafety**: ReadSafe
|
|
27083
27300
|
*
|
|
27084
27301
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#EmissiveStrength)
|
|
27085
27302
|
*/
|
|
27086
27303
|
EmissiveStrength: number;
|
|
27087
27304
|
/**
|
|
27305
|
+
* Determines the tinting color for emissive contribution.
|
|
27306
|
+
*
|
|
27088
27307
|
* - **ThreadSafety**: ReadSafe
|
|
27089
27308
|
*
|
|
27090
27309
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MaterialVariant#EmissiveTint)
|
|
@@ -27934,6 +28153,8 @@ interface OmniRecommendationsService extends Instance {
|
|
|
27934
28153
|
* - **Tags**: NotCreatable, NotReplicated
|
|
27935
28154
|
*
|
|
27936
28155
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/OpenCloudApiV1)
|
|
28156
|
+
*
|
|
28157
|
+
* @deprecated HttpService
|
|
27937
28158
|
*/
|
|
27938
28159
|
interface OpenCloudApiV1 extends Instance {
|
|
27939
28160
|
/**
|
|
@@ -27951,6 +28172,8 @@ interface OpenCloudApiV1 extends Instance {
|
|
|
27951
28172
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/OpenCloudApiV1#CreateModel)
|
|
27952
28173
|
* @param this
|
|
27953
28174
|
* @param name
|
|
28175
|
+
*
|
|
28176
|
+
* @deprecated
|
|
27954
28177
|
*/
|
|
27955
28178
|
CreateModel(this: OpenCloudApiV1, name: string): OpenCloudModel;
|
|
27956
28179
|
/**
|
|
@@ -27961,6 +28184,8 @@ interface OpenCloudApiV1 extends Instance {
|
|
|
27961
28184
|
* @param this
|
|
27962
28185
|
* @param user
|
|
27963
28186
|
* @param userNotification
|
|
28187
|
+
*
|
|
28188
|
+
* @deprecated
|
|
27964
28189
|
*/
|
|
27965
28190
|
CreateUserNotificationAsync(this: OpenCloudApiV1, user: string, userNotification: OpenCloudModel): OpenCloudModel;
|
|
27966
28191
|
}
|
|
@@ -27968,6 +28193,8 @@ interface OpenCloudApiV1 extends Instance {
|
|
|
27968
28193
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
27969
28194
|
*
|
|
27970
28195
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/OpenCloudService)
|
|
28196
|
+
*
|
|
28197
|
+
* @deprecated HttpService
|
|
27971
28198
|
*/
|
|
27972
28199
|
interface OpenCloudService extends Instance {
|
|
27973
28200
|
/**
|
|
@@ -27980,9 +28207,12 @@ interface OpenCloudService extends Instance {
|
|
|
27980
28207
|
readonly _nominal_OpenCloudService: unique symbol;
|
|
27981
28208
|
/**
|
|
27982
28209
|
* - **ThreadSafety**: Unsafe
|
|
28210
|
+
* - **Tags**:
|
|
27983
28211
|
*
|
|
27984
28212
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/OpenCloudService#GetApiV1)
|
|
27985
28213
|
* @param this
|
|
28214
|
+
*
|
|
28215
|
+
* @deprecated
|
|
27986
28216
|
*/
|
|
27987
28217
|
GetApiV1(this: OpenCloudService): OpenCloudApiV1;
|
|
27988
28218
|
/**
|
|
@@ -27995,6 +28225,8 @@ interface OpenCloudService extends Instance {
|
|
|
27995
28225
|
* @param methodName
|
|
27996
28226
|
* @param arguments
|
|
27997
28227
|
* @param headers
|
|
28228
|
+
*
|
|
28229
|
+
* @deprecated
|
|
27998
28230
|
*/
|
|
27999
28231
|
InvokeAsync(this: OpenCloudService, version: string, methodName: string, arguments: object, headers?: object): object;
|
|
28000
28232
|
}
|
|
@@ -35479,6 +35711,7 @@ interface ReflectionService extends Instance {
|
|
|
35479
35711
|
readonly _nominal_ReflectionService: unique symbol;
|
|
35480
35712
|
/**
|
|
35481
35713
|
* - **ThreadSafety**: Unsafe
|
|
35714
|
+
* - **Tags**: CustomLuaState
|
|
35482
35715
|
*
|
|
35483
35716
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ReflectionService#GetClass)
|
|
35484
35717
|
* @param this
|
|
@@ -35488,6 +35721,7 @@ interface ReflectionService extends Instance {
|
|
|
35488
35721
|
GetClass(this: ReflectionService, className: string, filter?: object): object | undefined;
|
|
35489
35722
|
/**
|
|
35490
35723
|
* - **ThreadSafety**: Unsafe
|
|
35724
|
+
* - **Tags**: CustomLuaState
|
|
35491
35725
|
*
|
|
35492
35726
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ReflectionService#GetClasses)
|
|
35493
35727
|
* @param this
|
|
@@ -35496,6 +35730,7 @@ interface ReflectionService extends Instance {
|
|
|
35496
35730
|
GetClasses(this: ReflectionService, filter?: object): Array<unknown>;
|
|
35497
35731
|
/**
|
|
35498
35732
|
* - **ThreadSafety**: Unsafe
|
|
35733
|
+
* - **Tags**: CustomLuaState
|
|
35499
35734
|
*
|
|
35500
35735
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ReflectionService#GetPropertiesOfClass)
|
|
35501
35736
|
* @param this
|
|
@@ -36091,12 +36326,18 @@ interface RuntimeContentService extends Instance {
|
|
|
36091
36326
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RuntimeContentService#RuntimeContentFail)
|
|
36092
36327
|
*/
|
|
36093
36328
|
readonly RuntimeContentFail: RBXScriptSignal<(id: string) => void>;
|
|
36329
|
+
/**
|
|
36330
|
+
* - **ThreadSafety**: Unsafe
|
|
36331
|
+
*
|
|
36332
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RuntimeContentService#RuntimeContentLRCleanup)
|
|
36333
|
+
*/
|
|
36334
|
+
readonly RuntimeContentLRCleanup: RBXScriptSignal<(id: string, priorityList: string) => void>;
|
|
36094
36335
|
/**
|
|
36095
36336
|
* - **ThreadSafety**: Unsafe
|
|
36096
36337
|
*
|
|
36097
36338
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RuntimeContentService#RuntimeContentQuery)
|
|
36098
36339
|
*/
|
|
36099
|
-
readonly RuntimeContentQuery: RBXScriptSignal<(id: string,
|
|
36340
|
+
readonly RuntimeContentQuery: RBXScriptSignal<(id: string, expectedType: string, priorityList: string) => void>;
|
|
36100
36341
|
/**
|
|
36101
36342
|
* - **ThreadSafety**: Unsafe
|
|
36102
36343
|
*
|
|
@@ -37571,6 +37812,18 @@ interface SocialService extends Instance {
|
|
|
37571
37812
|
* @returns Returns an `RsvpStatus` indicating the player's current RSVP status for the event. If the player has not RSVP'd to the event, this will return `RsvpStatus.None`.
|
|
37572
37813
|
*/
|
|
37573
37814
|
GetEventRsvpStatusAsync(this: SocialService, eventId: string): Enum.RsvpStatus;
|
|
37815
|
+
/**
|
|
37816
|
+
* Returns details for the specified experience event or `nil` if it is unavailable.
|
|
37817
|
+
*
|
|
37818
|
+
* - **ThreadSafety**: Unsafe
|
|
37819
|
+
* - **Tags**: Yields
|
|
37820
|
+
*
|
|
37821
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SocialService#GetExperienceEventAsync)
|
|
37822
|
+
* @param this Facilitates social functions that impact relationships made on the Roblox platform.
|
|
37823
|
+
* @param eventId The string identifier of the event to retrieve. Must correspond to an event in the current experience.
|
|
37824
|
+
* @returns A dictionary describing the event, or `nil` if the event does not exist, belongs to another experience, or is otherwise unavailable.
|
|
37825
|
+
*/
|
|
37826
|
+
GetExperienceEventAsync(this: SocialService, eventId: string): object | undefined;
|
|
37574
37827
|
/**
|
|
37575
37828
|
* Returns an array of dictionaries containing data for all members of the specified party who are currently in the experience.
|
|
37576
37829
|
*
|
|
@@ -37583,6 +37836,17 @@ interface SocialService extends Instance {
|
|
|
37583
37836
|
* @returns An array of dictionaries representing the members of the specified party who are currently in the experience.
|
|
37584
37837
|
*/
|
|
37585
37838
|
GetPartyAsync(this: SocialService, partyId: string): Array<unknown>;
|
|
37839
|
+
/**
|
|
37840
|
+
* Returns active and upcoming experience events for the current experience.
|
|
37841
|
+
*
|
|
37842
|
+
* - **ThreadSafety**: Unsafe
|
|
37843
|
+
* - **Tags**: Yields
|
|
37844
|
+
*
|
|
37845
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SocialService#GetUpcomingExperienceEventsAsync)
|
|
37846
|
+
* @param this Facilitates social functions that impact relationships made on the Roblox platform.
|
|
37847
|
+
* @returns An array of dictionaries describing each active or upcoming event in the current experience, ordered by soonest start time first.
|
|
37848
|
+
*/
|
|
37849
|
+
GetUpcomingExperienceEventsAsync(this: SocialService): Array<unknown>;
|
|
37586
37850
|
/**
|
|
37587
37851
|
* Prompts the player to submit feedback about the current experience.
|
|
37588
37852
|
*
|
|
@@ -38077,7 +38341,7 @@ interface CompressorSoundEffect extends SoundEffect {
|
|
|
38077
38341
|
*/
|
|
38078
38342
|
readonly _nominal_CompressorSoundEffect: unique symbol;
|
|
38079
38343
|
/**
|
|
38080
|
-
* The time the effect takes to become active after its Threshold has
|
|
38344
|
+
* The time the effect takes to become active after its `Threshold` has been reached.
|
|
38081
38345
|
*
|
|
38082
38346
|
* - **ThreadSafety**: ReadSafe
|
|
38083
38347
|
*
|
|
@@ -38085,7 +38349,7 @@ interface CompressorSoundEffect extends SoundEffect {
|
|
|
38085
38349
|
*/
|
|
38086
38350
|
Attack: number;
|
|
38087
38351
|
/**
|
|
38088
|
-
* The overall amplification applied to the effect's Sound or SoundGroup after attenuation of sounds above the threshold.
|
|
38352
|
+
* The overall amplification applied to the effect's `Sound` or `SoundGroup` after attenuation of sounds above the threshold.
|
|
38089
38353
|
*
|
|
38090
38354
|
* - **ThreadSafety**: ReadSafe
|
|
38091
38355
|
*
|
|
@@ -38093,7 +38357,7 @@ interface CompressorSoundEffect extends SoundEffect {
|
|
|
38093
38357
|
*/
|
|
38094
38358
|
GainMakeup: number;
|
|
38095
38359
|
/**
|
|
38096
|
-
* The ratio between the `
|
|
38360
|
+
* The ratio between the `SideChain` sound effect, and this sound effect.
|
|
38097
38361
|
*
|
|
38098
38362
|
* - **ThreadSafety**: ReadSafe
|
|
38099
38363
|
*
|
|
@@ -38101,7 +38365,7 @@ interface CompressorSoundEffect extends SoundEffect {
|
|
|
38101
38365
|
*/
|
|
38102
38366
|
Ratio: number;
|
|
38103
38367
|
/**
|
|
38104
|
-
* The time the effect takes to become inactive after its sound is below the Threshold
|
|
38368
|
+
* The time the effect takes to become inactive after its sound is below the `Threshold`.
|
|
38105
38369
|
*
|
|
38106
38370
|
* - **ThreadSafety**: ReadSafe
|
|
38107
38371
|
*
|
|
@@ -39008,7 +39272,7 @@ interface Stats extends Instance {
|
|
|
39008
39272
|
*/
|
|
39009
39273
|
readonly FrameTime: number;
|
|
39010
39274
|
/**
|
|
39011
|
-
* A measurement of the total amount of time it takes for the server to update its
|
|
39275
|
+
* A measurement of the total amount of time it takes for the server to update its task scheduler jobs in seconds.
|
|
39012
39276
|
*
|
|
39013
39277
|
* - **ThreadSafety**: ReadSafe
|
|
39014
39278
|
* - **Tags**: NotReplicated
|
|
@@ -39019,7 +39283,7 @@ interface Stats extends Instance {
|
|
|
39019
39283
|
/**
|
|
39020
39284
|
* **Deprecated:**
|
|
39021
39285
|
*
|
|
39022
|
-
* A measurement of the total amount of time it takes long it takes for Roblox to update all of its
|
|
39286
|
+
* A measurement of the total amount of time it takes long it takes for Roblox to update all of its task scheduler jobs, in milliseconds.
|
|
39023
39287
|
*
|
|
39024
39288
|
* - **ThreadSafety**: ReadSafe
|
|
39025
39289
|
* - **Tags**: NotReplicated
|
|
@@ -39210,7 +39474,7 @@ interface Stats extends Instance {
|
|
|
39210
39474
|
*/
|
|
39211
39475
|
GetMemoryCategoryNames(this: Stats): Array<unknown>;
|
|
39212
39476
|
/**
|
|
39213
|
-
* Returns the number of megabytes that are being consumed by all available categories, or an empty array if `MemoryTrackingEnabled` is false
|
|
39477
|
+
* Returns the number of megabytes that are being consumed by all available categories, or an empty array if `MemoryTrackingEnabled` is `false`.
|
|
39214
39478
|
*
|
|
39215
39479
|
* - **ThreadSafety**: Unsafe
|
|
39216
39480
|
*
|
|
@@ -39219,7 +39483,7 @@ interface Stats extends Instance {
|
|
|
39219
39483
|
*/
|
|
39220
39484
|
GetMemoryUsageMbAllCategories(this: Stats): Array<unknown>;
|
|
39221
39485
|
/**
|
|
39222
|
-
* Returns the number of megabytes that are being consumed in the specified `DeveloperMemoryTag` category, or 0 if `MemoryTrackingEnabled` is false
|
|
39486
|
+
* Returns the number of megabytes that are being consumed in the specified `DeveloperMemoryTag` category, or `0` if `MemoryTrackingEnabled` is `false`.
|
|
39223
39487
|
*
|
|
39224
39488
|
* - **ThreadSafety**: Unsafe
|
|
39225
39489
|
*
|
|
@@ -39229,7 +39493,7 @@ interface Stats extends Instance {
|
|
|
39229
39493
|
*/
|
|
39230
39494
|
GetMemoryUsageMbForTag(this: Stats, tag: CastsToEnum<Enum.DeveloperMemoryTag>): number;
|
|
39231
39495
|
/**
|
|
39232
|
-
* Returns the total amount of memory being consumed by the current game session, in megabytes
|
|
39496
|
+
* Returns the total amount of memory being consumed by the current game session, in megabytes.
|
|
39233
39497
|
*
|
|
39234
39498
|
* - **ThreadSafety**: Unsafe
|
|
39235
39499
|
*
|
|
@@ -39370,6 +39634,12 @@ interface StudioCameraService extends Instance {
|
|
|
39370
39634
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCameraService#LockCameraSpeed)
|
|
39371
39635
|
*/
|
|
39372
39636
|
LockCameraSpeed: boolean;
|
|
39637
|
+
/**
|
|
39638
|
+
* - **ThreadSafety**: ReadSafe
|
|
39639
|
+
*
|
|
39640
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioCameraService#LoggingEnabled)
|
|
39641
|
+
*/
|
|
39642
|
+
LoggingEnabled: boolean;
|
|
39373
39643
|
/**
|
|
39374
39644
|
* - **ThreadSafety**: Unsafe
|
|
39375
39645
|
*
|
|
@@ -39815,18 +40085,24 @@ interface SurfaceAppearance extends Instance {
|
|
|
39815
40085
|
*/
|
|
39816
40086
|
get ColorMapContent(): Content;
|
|
39817
40087
|
/**
|
|
40088
|
+
* Determines the emissivity across the surface.
|
|
40089
|
+
*
|
|
39818
40090
|
* - **ThreadSafety**: ReadSafe
|
|
39819
40091
|
*
|
|
39820
40092
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveMaskContent)
|
|
39821
40093
|
*/
|
|
39822
40094
|
get EmissiveMaskContent(): Content;
|
|
39823
40095
|
/**
|
|
40096
|
+
* Determines the strength of emissive contribution.
|
|
40097
|
+
*
|
|
39824
40098
|
* - **ThreadSafety**: ReadSafe
|
|
39825
40099
|
*
|
|
39826
40100
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveStrength)
|
|
39827
40101
|
*/
|
|
39828
40102
|
EmissiveStrength: number;
|
|
39829
40103
|
/**
|
|
40104
|
+
* Determines the tinting color for emissive contribution.
|
|
40105
|
+
*
|
|
39830
40106
|
* - **ThreadSafety**: ReadSafe
|
|
39831
40107
|
*
|
|
39832
40108
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/SurfaceAppearance#EmissiveTint)
|
|
@@ -40301,6 +40577,13 @@ interface TeleportService extends Instance {
|
|
|
40301
40577
|
number,
|
|
40302
40578
|
string
|
|
40303
40579
|
]>;
|
|
40580
|
+
/**
|
|
40581
|
+
* - **ThreadSafety**: Unsafe
|
|
40582
|
+
* - **Tags**: Yields
|
|
40583
|
+
*
|
|
40584
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TeleportService#PromptExperienceDetailsAsync)
|
|
40585
|
+
*/
|
|
40586
|
+
PromptExperienceDetailsAsync(this: TeleportService, player: Player, universeId: number): Enum.PromptExperienceDetailsResult;
|
|
40304
40587
|
/**
|
|
40305
40588
|
* Returns an access code that can be used to teleport players to a reserved server, along with the `DataModel.PrivateServerId` for it.
|
|
40306
40589
|
*
|
|
@@ -40407,12 +40690,16 @@ interface TerrainDetail extends Instance {
|
|
|
40407
40690
|
*/
|
|
40408
40691
|
readonly _nominal_TerrainDetail: unique symbol;
|
|
40409
40692
|
/**
|
|
40693
|
+
* Determines the strength of emissive contribution.
|
|
40694
|
+
*
|
|
40410
40695
|
* - **ThreadSafety**: ReadSafe
|
|
40411
40696
|
*
|
|
40412
40697
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TerrainDetail#EmissiveStrength)
|
|
40413
40698
|
*/
|
|
40414
40699
|
EmissiveStrength: number;
|
|
40415
40700
|
/**
|
|
40701
|
+
* Determines the tinting color for emissive contribution.
|
|
40702
|
+
*
|
|
40416
40703
|
* - **ThreadSafety**: ReadSafe
|
|
40417
40704
|
*
|
|
40418
40705
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TerrainDetail#EmissiveTint)
|
|
@@ -43927,7 +44214,7 @@ interface UnvalidatedAssetService extends Instance {
|
|
|
43927
44214
|
/**
|
|
43928
44215
|
* The UserGameSettings is a singleton class found inside of the `UserSettings` singleton. It holds various persistent settings relating to how the user wants to control their camera, and their character.
|
|
43929
44216
|
*
|
|
43930
|
-
* - **Tags**: NotCreatable,
|
|
44217
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
43931
44218
|
*
|
|
43932
44219
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UserGameSettings)
|
|
43933
44220
|
*/
|
|
@@ -45451,6 +45738,8 @@ interface Vector3Value extends ValueBase {
|
|
|
45451
45738
|
readonly Changed: RBXScriptSignal<(value: Vector3) => void>;
|
|
45452
45739
|
}
|
|
45453
45740
|
/**
|
|
45741
|
+
* A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45742
|
+
*
|
|
45454
45743
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve)
|
|
45455
45744
|
*/
|
|
45456
45745
|
interface ValueCurve extends Instance {
|
|
@@ -45463,6 +45752,8 @@ interface ValueCurve extends Instance {
|
|
|
45463
45752
|
*/
|
|
45464
45753
|
readonly _nominal_ValueCurve: unique symbol;
|
|
45465
45754
|
/**
|
|
45755
|
+
* Number of keys in the value curve.
|
|
45756
|
+
*
|
|
45466
45757
|
* - **ThreadSafety**: ReadSafe
|
|
45467
45758
|
* - **Tags**: NotReplicated
|
|
45468
45759
|
*
|
|
@@ -45470,6 +45761,8 @@ interface ValueCurve extends Instance {
|
|
|
45470
45761
|
*/
|
|
45471
45762
|
readonly Length: number;
|
|
45472
45763
|
/**
|
|
45764
|
+
* Read-only value indicating the type held in this curve.
|
|
45765
|
+
*
|
|
45473
45766
|
* - **ThreadSafety**: ReadSafe
|
|
45474
45767
|
* - **Tags**: NotReplicated
|
|
45475
45768
|
*
|
|
@@ -45477,51 +45770,91 @@ interface ValueCurve extends Instance {
|
|
|
45477
45770
|
*/
|
|
45478
45771
|
readonly ValueType: string;
|
|
45479
45772
|
/**
|
|
45773
|
+
* Returns a copy of a key at a given index.
|
|
45774
|
+
*
|
|
45480
45775
|
* - **ThreadSafety**: Unsafe
|
|
45481
45776
|
*
|
|
45482
45777
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#GetKeyAtIndex)
|
|
45778
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45779
|
+
* @param index The index in the existing set of keys held by this `ValueCurve`.
|
|
45483
45780
|
*/
|
|
45484
45781
|
GetKeyAtIndex(this: ValueCurve, index: number): ValueCurveKey;
|
|
45485
45782
|
/**
|
|
45783
|
+
* Returns the index of the last and first key of a period of time.
|
|
45784
|
+
*
|
|
45486
45785
|
* - **ThreadSafety**: Unsafe
|
|
45487
45786
|
*
|
|
45488
45787
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#GetKeyIndicesAtTime)
|
|
45788
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45789
|
+
* @param time A time during the animation. Inputs will be clamped between `0` and the time of the last key held by this `ValueCurve`.
|
|
45489
45790
|
*/
|
|
45490
45791
|
GetKeyIndicesAtTime(this: ValueCurve, time: number): Array<unknown>;
|
|
45491
45792
|
/**
|
|
45793
|
+
* Returns a copy of all the keys in the ValueCurve as a Luau array of `ValueCurveKeys`.
|
|
45794
|
+
*
|
|
45492
45795
|
* - **ThreadSafety**: Unsafe
|
|
45493
45796
|
*
|
|
45494
45797
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#GetKeys)
|
|
45798
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45799
|
+
* @returns Array of `ValueCurveKeys`.
|
|
45495
45800
|
*/
|
|
45496
45801
|
GetKeys(this: ValueCurve): Array<unknown>;
|
|
45497
45802
|
/**
|
|
45803
|
+
* Samples the value curve at a given time passed as argument.
|
|
45804
|
+
*
|
|
45498
45805
|
* - **ThreadSafety**: Unsafe
|
|
45499
45806
|
*
|
|
45500
45807
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#GetValueAtTime)
|
|
45808
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45809
|
+
* @param time Time at which to sample the curve.
|
|
45810
|
+
* @returns Value of the curve at the requested `time`.
|
|
45501
45811
|
*/
|
|
45502
45812
|
GetValueAtTime(this: ValueCurve, time: number): unknown | undefined;
|
|
45503
45813
|
/**
|
|
45814
|
+
* Adds the key passed as an argument to this curve. If a key at the same time is found, it will be replaced.
|
|
45815
|
+
*
|
|
45504
45816
|
* - **ThreadSafety**: Unsafe
|
|
45505
45817
|
*
|
|
45506
45818
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#InsertKey)
|
|
45819
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45820
|
+
* @param key `ValueCurveKey` to insert.
|
|
45821
|
+
* @returns (see description)
|
|
45507
45822
|
*/
|
|
45508
45823
|
InsertKey(this: ValueCurve, key: ValueCurveKey): Array<unknown>;
|
|
45509
45824
|
/**
|
|
45825
|
+
* Creates a key for the given value and inserts it at the given time. If a key at the same time is found, it will be replaced.
|
|
45826
|
+
*
|
|
45510
45827
|
* - **ThreadSafety**: Unsafe
|
|
45511
45828
|
*
|
|
45512
45829
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#InsertKeyValue)
|
|
45830
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45831
|
+
* @param time Time at which to insert the new `ValueCurveKey`. - type: number
|
|
45832
|
+
* @param value Value of the inserted `ValueCurveKey`. - type: any
|
|
45833
|
+
* @param Interpolation Interpolation mode of the inserted `ValueCurveKey`. - type: KeyInterpolationMode
|
|
45834
|
+
* @returns (see description)
|
|
45513
45835
|
*/
|
|
45514
45836
|
InsertKeyValue(this: ValueCurve, time: number, value: unknown, keyInterpolationMode?: CastsToEnum<Enum.KeyInterpolationMode>): Array<unknown>;
|
|
45515
45837
|
/**
|
|
45838
|
+
* Removes a given number of keys starting from a given index.
|
|
45839
|
+
*
|
|
45516
45840
|
* - **ThreadSafety**: Unsafe
|
|
45517
45841
|
*
|
|
45518
45842
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#RemoveKeyAtIndex)
|
|
45843
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45844
|
+
* @param startingIndex Starting index from which to remove keys.
|
|
45845
|
+
* @param count Number of keys to remove.
|
|
45846
|
+
* @returns Number of keys removed.
|
|
45519
45847
|
*/
|
|
45520
45848
|
RemoveKeyAtIndex(this: ValueCurve, startingIndex: number, count?: number): number;
|
|
45521
45849
|
/**
|
|
45850
|
+
* Resets this curve's keys using the `ValueCurveKey` array passed as an argument.
|
|
45851
|
+
*
|
|
45522
45852
|
* - **ThreadSafety**: Unsafe
|
|
45523
45853
|
*
|
|
45524
45854
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ValueCurve#SetKeys)
|
|
45855
|
+
* @param this A sorted list of time-value pairs that define a curve. Used to animate a any type of value.
|
|
45856
|
+
* @param keys Array of `ValueCurveKeys`.
|
|
45857
|
+
* @returns Number of keys inserted.
|
|
45525
45858
|
*/
|
|
45526
45859
|
SetKeys(this: ValueCurve, keys: Array<unknown>): number;
|
|
45527
45860
|
}
|
|
@@ -45819,6 +46152,21 @@ interface VideoPlayer extends Instance {
|
|
|
45819
46152
|
*/
|
|
45820
46153
|
readonly WiringChanged: RBXScriptSignal<(connected: boolean, pin: string, wire: Wire, instance: Instance) => void>;
|
|
45821
46154
|
}
|
|
46155
|
+
/**
|
|
46156
|
+
* - **Tags**: NotCreatable, Service
|
|
46157
|
+
*
|
|
46158
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoScreenCaptureService)
|
|
46159
|
+
*/
|
|
46160
|
+
interface VideoScreenCaptureService extends Instance {
|
|
46161
|
+
/**
|
|
46162
|
+
* **DO NOT USE!**
|
|
46163
|
+
*
|
|
46164
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
46165
|
+
* @hidden
|
|
46166
|
+
* @deprecated
|
|
46167
|
+
*/
|
|
46168
|
+
readonly _nominal_VideoScreenCaptureService: unique symbol;
|
|
46169
|
+
}
|
|
45822
46170
|
/**
|
|
45823
46171
|
* An internal service that offers no functionality to developers.
|
|
45824
46172
|
*
|
|
@@ -45835,6 +46183,13 @@ interface VideoService extends Instance {
|
|
|
45835
46183
|
* @deprecated
|
|
45836
46184
|
*/
|
|
45837
46185
|
readonly _nominal_VideoService: unique symbol;
|
|
46186
|
+
/**
|
|
46187
|
+
* - **ThreadSafety**: Unsafe
|
|
46188
|
+
* - **Tags**: Yields
|
|
46189
|
+
*
|
|
46190
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoService#CreateVideoSamplerAsync)
|
|
46191
|
+
*/
|
|
46192
|
+
CreateVideoSamplerAsync(this: VideoService, content: Content, options?: object): VideoSampler;
|
|
45838
46193
|
}
|
|
45839
46194
|
/**
|
|
45840
46195
|
* - **Tags**: NotCreatable, Service
|
|
@@ -46473,6 +46828,42 @@ interface TerrainWriteOperation extends RBXObject {
|
|
|
46473
46828
|
*/
|
|
46474
46829
|
GetBlock(this: TerrainWriteOperation): object;
|
|
46475
46830
|
}
|
|
46831
|
+
/**
|
|
46832
|
+
* - **Tags**: NotCreatable
|
|
46833
|
+
*
|
|
46834
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoSampler)
|
|
46835
|
+
*/
|
|
46836
|
+
interface VideoSampler extends RBXObject {
|
|
46837
|
+
/**
|
|
46838
|
+
* **DO NOT USE!**
|
|
46839
|
+
*
|
|
46840
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
46841
|
+
* @hidden
|
|
46842
|
+
* @deprecated
|
|
46843
|
+
*/
|
|
46844
|
+
readonly _nominal_VideoSampler: unique symbol;
|
|
46845
|
+
/**
|
|
46846
|
+
* - **ThreadSafety**: ReadSafe
|
|
46847
|
+
* - **Tags**: NotReplicated
|
|
46848
|
+
*
|
|
46849
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoSampler#TimeLength)
|
|
46850
|
+
*/
|
|
46851
|
+
readonly TimeLength: number;
|
|
46852
|
+
/**
|
|
46853
|
+
* - **ThreadSafety**: ReadSafe
|
|
46854
|
+
* - **Tags**: NotReplicated
|
|
46855
|
+
*
|
|
46856
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoSampler#VideoContent)
|
|
46857
|
+
*/
|
|
46858
|
+
readonly VideoContent: Content;
|
|
46859
|
+
/**
|
|
46860
|
+
* - **ThreadSafety**: Unsafe
|
|
46861
|
+
* - **Tags**: Yields
|
|
46862
|
+
*
|
|
46863
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VideoSampler#GetSamplesAtTimesAsync)
|
|
46864
|
+
*/
|
|
46865
|
+
GetSamplesAtTimesAsync(this: VideoSampler, times: Array<unknown>): Array<unknown>;
|
|
46866
|
+
}
|
|
46476
46867
|
/**
|
|
46477
46868
|
* Maintains a streaming connection.
|
|
46478
46869
|
*
|
|
@@ -46508,9 +46899,13 @@ interface WebStreamClient extends RBXObject {
|
|
|
46508
46899
|
*/
|
|
46509
46900
|
Close(this: WebStreamClient): void;
|
|
46510
46901
|
/**
|
|
46902
|
+
* Enqueues data to be transmitted to the server over the streaming connection.
|
|
46903
|
+
*
|
|
46511
46904
|
* - **ThreadSafety**: Unsafe
|
|
46512
46905
|
*
|
|
46513
46906
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/WebStreamClient#Send)
|
|
46907
|
+
* @param this Maintains a streaming connection.
|
|
46908
|
+
* @param data Text string to send to the server.
|
|
46514
46909
|
*/
|
|
46515
46910
|
Send(this: WebStreamClient, data: string): void;
|
|
46516
46911
|
/**
|