@rbxts/types 1.0.855 → 1.0.857
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.
|
@@ -112,6 +112,7 @@ interface Services {
|
|
|
112
112
|
MessagingService: MessagingService;
|
|
113
113
|
MetaBreakpointManager: MetaBreakpointManager;
|
|
114
114
|
MLModelDeliveryService: MLModelDeliveryService;
|
|
115
|
+
MLService: MLService;
|
|
115
116
|
OmniRecommendationsService: OmniRecommendationsService;
|
|
116
117
|
OpenCloudService: OpenCloudService;
|
|
117
118
|
PackageUIService: PackageUIService;
|
|
@@ -691,6 +692,7 @@ interface Objects extends Instances {
|
|
|
691
692
|
ConfigSnapshot: ConfigSnapshot;
|
|
692
693
|
EditableImage: EditableImage;
|
|
693
694
|
EditableMesh: EditableMesh;
|
|
695
|
+
MLSession: MLSession;
|
|
694
696
|
Object: RBXObject;
|
|
695
697
|
ScreenshotCapture: ScreenshotCapture;
|
|
696
698
|
TerrainIterateOperation: TerrainIterateOperation;
|
|
@@ -2051,11 +2053,14 @@ interface Instance extends RBXObject {
|
|
|
2051
2053
|
*/
|
|
2052
2054
|
GetFullName(this: Instance): string;
|
|
2053
2055
|
/**
|
|
2056
|
+
* Returns the styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
|
|
2057
|
+
*
|
|
2054
2058
|
* - **ThreadSafety**: Unsafe
|
|
2055
2059
|
*
|
|
2056
2060
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Instance#GetStyled)
|
|
2057
2061
|
* @param this `Instance` is the base class for all classes in the Roblox class hierarchy which can be part of the `DataModel` tree.
|
|
2058
|
-
* @param name
|
|
2062
|
+
* @param name Name of the property to query.
|
|
2063
|
+
* @returns The styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
|
|
2059
2064
|
*/
|
|
2060
2065
|
GetStyled(this: Instance, name: string): unknown;
|
|
2061
2066
|
/**
|
|
@@ -2063,7 +2068,8 @@ interface Instance extends RBXObject {
|
|
|
2063
2068
|
*
|
|
2064
2069
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Instance#GetStyledPropertyChangedSignal)
|
|
2065
2070
|
* @param this `Instance` is the base class for all classes in the Roblox class hierarchy which can be part of the `DataModel` tree.
|
|
2066
|
-
* @param property
|
|
2071
|
+
* @param property Name of the style property for which to listen for changes.
|
|
2072
|
+
* @returns Event that fires when the given style property changes.
|
|
2067
2073
|
*/
|
|
2068
2074
|
GetStyledPropertyChangedSignal(this: Instance, property: string): RBXScriptSignal;
|
|
2069
2075
|
/**
|
|
@@ -2108,13 +2114,13 @@ interface Instance extends RBXObject {
|
|
|
2108
2114
|
*/
|
|
2109
2115
|
IsDescendantOf(this: Instance, ancestor: Instance): boolean;
|
|
2110
2116
|
/**
|
|
2111
|
-
* Returns `true` if the value stored in the specified property is
|
|
2117
|
+
* Returns `true` if the value stored in the specified property is equal to the code-instantiated default.
|
|
2112
2118
|
*
|
|
2113
2119
|
* - **ThreadSafety**: Unsafe
|
|
2114
2120
|
*
|
|
2115
2121
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Instance#IsPropertyModified)
|
|
2116
2122
|
* @param this `Instance` is the base class for all classes in the Roblox class hierarchy which can be part of the `DataModel` tree.
|
|
2117
|
-
* @param property
|
|
2123
|
+
* @param property Name of the property to query.
|
|
2118
2124
|
* @returns Boolean indicating whether the property is modified.
|
|
2119
2125
|
*/
|
|
2120
2126
|
IsPropertyModified(this: Instance, property: string): boolean;
|
|
@@ -2129,11 +2135,13 @@ interface Instance extends RBXObject {
|
|
|
2129
2135
|
*/
|
|
2130
2136
|
RemoveTag(this: Instance, tag: string): void;
|
|
2131
2137
|
/**
|
|
2138
|
+
* Resets a property to its default value.
|
|
2139
|
+
*
|
|
2132
2140
|
* - **ThreadSafety**: Unsafe
|
|
2133
2141
|
*
|
|
2134
2142
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Instance#ResetPropertyToDefault)
|
|
2135
2143
|
* @param this `Instance` is the base class for all classes in the Roblox class hierarchy which can be part of the `DataModel` tree.
|
|
2136
|
-
* @param property
|
|
2144
|
+
* @param property Name of the property to reset.
|
|
2137
2145
|
*/
|
|
2138
2146
|
ResetPropertyToDefault(this: Instance, property: string): void;
|
|
2139
2147
|
/**
|
|
@@ -2218,6 +2226,8 @@ interface Instance extends RBXObject {
|
|
|
2218
2226
|
*/
|
|
2219
2227
|
readonly Destroying: RBXScriptSignal<() => void>;
|
|
2220
2228
|
/**
|
|
2229
|
+
* Fires whenever any style property is changed on the instance, including when a property is set to `nil`.
|
|
2230
|
+
*
|
|
2221
2231
|
* - **ThreadSafety**: Unsafe
|
|
2222
2232
|
*
|
|
2223
2233
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Instance#StyledPropertiesChanged)
|
|
@@ -3843,7 +3853,7 @@ interface AssetService extends Instance {
|
|
|
3843
3853
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AssetService#SavePlaceAsync)
|
|
3844
3854
|
* @param this A non-replicated service that handles asset-related queries to the Roblox web API.
|
|
3845
3855
|
*/
|
|
3846
|
-
SavePlaceAsync(this: AssetService
|
|
3856
|
+
SavePlaceAsync(this: AssetService): void;
|
|
3847
3857
|
/**
|
|
3848
3858
|
* Finds audio assets matching a variety of search criteria.
|
|
3849
3859
|
*
|
|
@@ -9119,7 +9129,7 @@ interface CalloutService extends Instance {
|
|
|
9119
9129
|
readonly _nominal_CalloutService: unique symbol;
|
|
9120
9130
|
}
|
|
9121
9131
|
/**
|
|
9122
|
-
* A service which provides control over screenshot
|
|
9132
|
+
* A service which provides control over screenshot capture features.
|
|
9123
9133
|
*
|
|
9124
9134
|
* - **Tags**: NotCreatable, Service
|
|
9125
9135
|
*
|
|
@@ -9140,7 +9150,7 @@ interface CaptureService extends Instance {
|
|
|
9140
9150
|
* - **ThreadSafety**: Unsafe
|
|
9141
9151
|
*
|
|
9142
9152
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#CaptureScreenshot)
|
|
9143
|
-
* @param this A service which provides control over screenshot
|
|
9153
|
+
* @param this A service which provides control over screenshot capture features.
|
|
9144
9154
|
* @param onCaptureReady A callback function that is called with the `contentId` of the new capture once it is ready.
|
|
9145
9155
|
*/
|
|
9146
9156
|
CaptureScreenshot(this: CaptureService, onCaptureReady: (captureContentId: string) => void): void;
|
|
@@ -9150,18 +9160,18 @@ interface CaptureService extends Instance {
|
|
|
9150
9160
|
* - **ThreadSafety**: Unsafe
|
|
9151
9161
|
*
|
|
9152
9162
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#PromptSaveCapturesToGallery)
|
|
9153
|
-
* @param this A service which provides control over screenshot
|
|
9163
|
+
* @param this A service which provides control over screenshot capture features.
|
|
9154
9164
|
* @param captures
|
|
9155
9165
|
* @param resultCallback A callback function that will be invoked with a dictionary mapping each `contentId` to a boolean indicating if the user accepted saving that capture.
|
|
9156
9166
|
*/
|
|
9157
9167
|
PromptSaveCapturesToGallery<T extends string>(this: CaptureService, contentIds: Array<T>, resultCallback: (results: Record<T, boolean>) => void): void;
|
|
9158
9168
|
/**
|
|
9159
|
-
* Prompts the user to share a specified capture.
|
|
9169
|
+
* Prompts the user to share a specified screenshot capture.
|
|
9160
9170
|
*
|
|
9161
9171
|
* - **ThreadSafety**: Unsafe
|
|
9162
9172
|
*
|
|
9163
9173
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#PromptShareCapture)
|
|
9164
|
-
* @param this A service which provides control over screenshot
|
|
9174
|
+
* @param this A service which provides control over screenshot capture features.
|
|
9165
9175
|
* @param captureContent
|
|
9166
9176
|
* @param launchData An optional string to include as launch data in the invite link.
|
|
9167
9177
|
* @param onAcceptedCallback An optional callback function invoked if the user accepts sharing.
|
|
@@ -9169,35 +9179,31 @@ interface CaptureService extends Instance {
|
|
|
9169
9179
|
*/
|
|
9170
9180
|
PromptShareCapture(this: CaptureService, contentId: string, launchData: string, onAcceptedCallback: () => void, onDeniedCallback: () => void): void;
|
|
9171
9181
|
/**
|
|
9172
|
-
* Ends a video capture initiated by `StartVideoCaptureAsync()`.
|
|
9173
|
-
*
|
|
9174
9182
|
* - **ThreadSafety**: Unsafe
|
|
9175
9183
|
*
|
|
9176
9184
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#StopVideoCapture)
|
|
9177
|
-
* @param this A service which provides control over screenshot
|
|
9185
|
+
* @param this A service which provides control over screenshot capture features.
|
|
9178
9186
|
*/
|
|
9179
9187
|
StopVideoCapture(this: CaptureService): void;
|
|
9180
9188
|
/**
|
|
9181
9189
|
* - **ThreadSafety**: Unsafe
|
|
9182
9190
|
*
|
|
9183
9191
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#TakeCapture)
|
|
9184
|
-
* @param this A service which provides control over screenshot
|
|
9192
|
+
* @param this A service which provides control over screenshot capture features.
|
|
9185
9193
|
* @param onCaptureReady
|
|
9186
9194
|
* @param captureParams
|
|
9187
9195
|
*/
|
|
9188
9196
|
TakeCapture(this: CaptureService, onCaptureReady: Callback, captureParams?: object): void;
|
|
9189
9197
|
/**
|
|
9190
|
-
* Initiates a video capture recording.
|
|
9191
|
-
*
|
|
9192
9198
|
* - **ThreadSafety**: Unsafe
|
|
9193
9199
|
* - **Tags**: Yields
|
|
9194
9200
|
*
|
|
9195
9201
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CaptureService#StartVideoCaptureAsync)
|
|
9196
|
-
* @param this A service which provides control over screenshot
|
|
9197
|
-
* @param onCaptureReady
|
|
9202
|
+
* @param this A service which provides control over screenshot capture features.
|
|
9203
|
+
* @param onCaptureReady
|
|
9198
9204
|
* @param captureParams
|
|
9199
9205
|
*/
|
|
9200
|
-
StartVideoCaptureAsync(this: CaptureService, onCaptureReady: Callback, captureParams?: object): Enum.
|
|
9206
|
+
StartVideoCaptureAsync(this: CaptureService, onCaptureReady: Callback, captureParams?: object): Enum.VideoCaptureStartedResult;
|
|
9201
9207
|
/**
|
|
9202
9208
|
* Fires immediately before a capture begins.
|
|
9203
9209
|
*
|
|
@@ -25482,6 +25488,28 @@ interface MLModelDeliveryService extends Instance {
|
|
|
25482
25488
|
*/
|
|
25483
25489
|
readonly _nominal_MLModelDeliveryService: unique symbol;
|
|
25484
25490
|
}
|
|
25491
|
+
/**
|
|
25492
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
25493
|
+
*
|
|
25494
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MLService)
|
|
25495
|
+
*/
|
|
25496
|
+
interface MLService extends Instance {
|
|
25497
|
+
/**
|
|
25498
|
+
* **DO NOT USE!**
|
|
25499
|
+
*
|
|
25500
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
25501
|
+
* @hidden
|
|
25502
|
+
* @deprecated
|
|
25503
|
+
*/
|
|
25504
|
+
readonly _nominal_MLService: unique symbol;
|
|
25505
|
+
/**
|
|
25506
|
+
* - **ThreadSafety**: Unsafe
|
|
25507
|
+
* - **Tags**: Yields
|
|
25508
|
+
*
|
|
25509
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MLService#CreateSessionAsync)
|
|
25510
|
+
*/
|
|
25511
|
+
CreateSessionAsync(this: MLService, assetId: string): MLSession;
|
|
25512
|
+
}
|
|
25485
25513
|
/**
|
|
25486
25514
|
* Represents a list of strings markers in chronological order.
|
|
25487
25515
|
*
|
|
@@ -37883,6 +37911,8 @@ interface StudioWidgetsService extends Instance {
|
|
|
37883
37911
|
readonly _nominal_StudioWidgetsService: unique symbol;
|
|
37884
37912
|
}
|
|
37885
37913
|
/**
|
|
37914
|
+
* The base class for `StyleSheet` and `StyleRule`.
|
|
37915
|
+
*
|
|
37886
37916
|
* - **Tags**: NotCreatable
|
|
37887
37917
|
*
|
|
37888
37918
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleBase)
|
|
@@ -37897,30 +37927,39 @@ interface StyleBase extends Instance {
|
|
|
37897
37927
|
*/
|
|
37898
37928
|
readonly _nominal_StyleBase: unique symbol;
|
|
37899
37929
|
/**
|
|
37930
|
+
* Returns an array of associated `StyleRules`.
|
|
37931
|
+
*
|
|
37900
37932
|
* - **ThreadSafety**: Unsafe
|
|
37901
37933
|
*
|
|
37902
37934
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleBase#GetStyleRules)
|
|
37903
|
-
* @param this
|
|
37935
|
+
* @param this The base class for `StyleSheet` and `StyleRule`.
|
|
37936
|
+
* @returns Array of `StyleRules`.
|
|
37904
37937
|
*/
|
|
37905
37938
|
GetStyleRules(this: StyleBase): Array<Instance>;
|
|
37906
37939
|
/**
|
|
37940
|
+
* Inserts a new `StyleRule` into the array of rules.
|
|
37941
|
+
*
|
|
37907
37942
|
* - **ThreadSafety**: Unsafe
|
|
37908
37943
|
*
|
|
37909
37944
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleBase#InsertStyleRule)
|
|
37910
|
-
* @param this
|
|
37911
|
-
* @param rule
|
|
37912
|
-
* @param priority
|
|
37945
|
+
* @param this The base class for `StyleSheet` and `StyleRule`.
|
|
37946
|
+
* @param rule The `StyleRule` to insert.
|
|
37947
|
+
* @param priority The number to set the rule's `Priority` to.
|
|
37913
37948
|
*/
|
|
37914
37949
|
InsertStyleRule(this: StyleBase, rule: StyleRule, priority?: number): void;
|
|
37915
37950
|
/**
|
|
37951
|
+
* Similar to `InsertStyleRule()` but lets you declare and set multiple `StyleRules` at once.
|
|
37952
|
+
*
|
|
37916
37953
|
* - **ThreadSafety**: Unsafe
|
|
37917
37954
|
*
|
|
37918
37955
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleBase#SetStyleRules)
|
|
37919
|
-
* @param this
|
|
37920
|
-
* @param rules
|
|
37956
|
+
* @param this The base class for `StyleSheet` and `StyleRule`.
|
|
37957
|
+
* @param rules Array of `StyleRules` to set.
|
|
37921
37958
|
*/
|
|
37922
37959
|
SetStyleRules(this: StyleBase, rules: Array<Instance>): void;
|
|
37923
37960
|
/**
|
|
37961
|
+
* Fires when one or more `StyleRules` is explicitly changed on the connected `StyleSheet` or `StyleRule`.
|
|
37962
|
+
*
|
|
37924
37963
|
* - **ThreadSafety**: Unsafe
|
|
37925
37964
|
*
|
|
37926
37965
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleBase#StyleRulesChanged)
|
|
@@ -37928,6 +37967,8 @@ interface StyleBase extends Instance {
|
|
|
37928
37967
|
readonly StyleRulesChanged: RBXScriptSignal<() => void>;
|
|
37929
37968
|
}
|
|
37930
37969
|
/**
|
|
37970
|
+
* Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
37971
|
+
*
|
|
37931
37972
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule)
|
|
37932
37973
|
*/
|
|
37933
37974
|
interface StyleRule extends StyleBase {
|
|
@@ -37940,18 +37981,24 @@ interface StyleRule extends StyleBase {
|
|
|
37940
37981
|
*/
|
|
37941
37982
|
readonly _nominal_StyleRule: unique symbol;
|
|
37942
37983
|
/**
|
|
37984
|
+
* A number that determines how properties of the `StyleRule` apply relative to the same properties in other `StyleRules`. Higher priority values take precedence over lower.
|
|
37985
|
+
*
|
|
37943
37986
|
* - **ThreadSafety**: ReadSafe
|
|
37944
37987
|
*
|
|
37945
37988
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#Priority)
|
|
37946
37989
|
*/
|
|
37947
37990
|
Priority: number;
|
|
37948
37991
|
/**
|
|
37992
|
+
* A string specifying which instances the `StyleRule` should affect.
|
|
37993
|
+
*
|
|
37949
37994
|
* - **ThreadSafety**: ReadSafe
|
|
37950
37995
|
*
|
|
37951
37996
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#Selector)
|
|
37952
37997
|
*/
|
|
37953
37998
|
Selector: string;
|
|
37954
37999
|
/**
|
|
38000
|
+
* A read-only string that displays errors from the `Selector` property.
|
|
38001
|
+
*
|
|
37955
38002
|
* - **ThreadSafety**: ReadSafe
|
|
37956
38003
|
* - **Tags**: NotReplicated
|
|
37957
38004
|
*
|
|
@@ -37959,39 +38006,49 @@ interface StyleRule extends StyleBase {
|
|
|
37959
38006
|
*/
|
|
37960
38007
|
readonly SelectorError: string;
|
|
37961
38008
|
/**
|
|
38009
|
+
* Returns a dictionary of key-value pairs describing the properties of the `StyleRule`.
|
|
38010
|
+
*
|
|
37962
38011
|
* - **ThreadSafety**: Unsafe
|
|
37963
38012
|
*
|
|
37964
38013
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#GetProperties)
|
|
37965
|
-
* @param this
|
|
38014
|
+
* @param this Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
38015
|
+
* @returns Dictionary of key-value pairs describing the properties of the `StyleRule`.
|
|
37966
38016
|
*/
|
|
37967
38017
|
GetProperties(this: StyleRule): object;
|
|
37968
38018
|
/**
|
|
38019
|
+
* Returns the value of a specific property in the `StyleRule`.
|
|
38020
|
+
*
|
|
37969
38021
|
* - **ThreadSafety**: Unsafe
|
|
37970
38022
|
*
|
|
37971
38023
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#GetProperty)
|
|
37972
|
-
* @param this
|
|
37973
|
-
* @param name
|
|
38024
|
+
* @param this Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
38025
|
+
* @param name String name of the property, for example `"AnchorPoint"` or `"BackgroundColor3"`.
|
|
38026
|
+
* @returns Value of the property.
|
|
37974
38027
|
*/
|
|
37975
38028
|
GetProperty(this: StyleRule, name: string): unknown;
|
|
37976
38029
|
/**
|
|
38030
|
+
* Lets you declare and set multiple properties of the `StyleRule` at once.
|
|
38031
|
+
*
|
|
37977
38032
|
* - **ThreadSafety**: Unsafe
|
|
37978
38033
|
*
|
|
37979
38034
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#SetProperties)
|
|
37980
|
-
* @param this
|
|
37981
|
-
* @param styleProperties
|
|
38035
|
+
* @param this Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
38036
|
+
* @param styleProperties Dictionary of key-value pairs defining the properties to set.
|
|
37982
38037
|
*/
|
|
37983
38038
|
SetProperties(this: StyleRule, styleProperties: object): void;
|
|
37984
38039
|
/**
|
|
37985
38040
|
* - **ThreadSafety**: Unsafe
|
|
37986
38041
|
*
|
|
37987
38042
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule#SetProperty)
|
|
37988
|
-
* @param this
|
|
37989
|
-
* @param name
|
|
37990
|
-
* @param value
|
|
38043
|
+
* @param this Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
38044
|
+
* @param name Property name to set, for example `"BackgroundColor3"`.
|
|
38045
|
+
* @param value Property value to set, for example `Color3.new(1, 0, 0.25)`.
|
|
37991
38046
|
*/
|
|
37992
38047
|
SetProperty(this: StyleRule, name: string, value: unknown): void;
|
|
37993
38048
|
}
|
|
37994
38049
|
/**
|
|
38050
|
+
* Aggregates `StyleRules` and can be linked to `DataModel` trees to apply style properties to instances.
|
|
38051
|
+
*
|
|
37995
38052
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleSheet)
|
|
37996
38053
|
*/
|
|
37997
38054
|
interface StyleSheet extends StyleBase {
|
|
@@ -38004,22 +38061,29 @@ interface StyleSheet extends StyleBase {
|
|
|
38004
38061
|
*/
|
|
38005
38062
|
readonly _nominal_StyleSheet: unique symbol;
|
|
38006
38063
|
/**
|
|
38064
|
+
* Returns an array of other `StyleSheets` from which the `StyleSheet` is deriving `StyleRules` and token definitions.
|
|
38065
|
+
*
|
|
38007
38066
|
* - **ThreadSafety**: Unsafe
|
|
38008
38067
|
*
|
|
38009
38068
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleSheet#GetDerives)
|
|
38010
|
-
* @param this
|
|
38069
|
+
* @param this Aggregates `StyleRules` and can be linked to `DataModel` trees to apply style properties to instances.
|
|
38070
|
+
* @returns Array of other `StyleSheets`.
|
|
38011
38071
|
*/
|
|
38012
38072
|
GetDerives(this: StyleSheet): Array<Instance>;
|
|
38013
38073
|
/**
|
|
38074
|
+
* Sets the `StyleSheet` to derive `StyleRules` and token definitions from one or more other `StyleSheets`.
|
|
38075
|
+
*
|
|
38014
38076
|
* - **ThreadSafety**: Unsafe
|
|
38015
38077
|
*
|
|
38016
38078
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleSheet#SetDerives)
|
|
38017
|
-
* @param this
|
|
38018
|
-
* @param derives
|
|
38079
|
+
* @param this Aggregates `StyleRules` and can be linked to `DataModel` trees to apply style properties to instances.
|
|
38080
|
+
* @param derives Array of other `StyleSheets` to derive `StyleRules` and token definitions from.
|
|
38019
38081
|
*/
|
|
38020
38082
|
SetDerives(this: StyleSheet, derives: Array<Instance>): void;
|
|
38021
38083
|
}
|
|
38022
38084
|
/**
|
|
38085
|
+
* When parented to a `StyleSheet`, references another `StyleSheet` from which the parent inherits `StyleRules` and token definitions.
|
|
38086
|
+
*
|
|
38023
38087
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleDerive)
|
|
38024
38088
|
*/
|
|
38025
38089
|
interface StyleDerive extends Instance {
|
|
@@ -38032,12 +38096,16 @@ interface StyleDerive extends Instance {
|
|
|
38032
38096
|
*/
|
|
38033
38097
|
readonly _nominal_StyleDerive: unique symbol;
|
|
38034
38098
|
/**
|
|
38099
|
+
* A number that determines how style properties inherited through this `StyleDerive` apply relative to the same properties inherited through other `StyleDerives`.
|
|
38100
|
+
*
|
|
38035
38101
|
* - **ThreadSafety**: ReadSafe
|
|
38036
38102
|
*
|
|
38037
38103
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleDerive#Priority)
|
|
38038
38104
|
*/
|
|
38039
38105
|
Priority: number;
|
|
38040
38106
|
/**
|
|
38107
|
+
* The `StyleSheet` from which the parent `StyleSheet` inherits `StyleRules` and token definitions.
|
|
38108
|
+
*
|
|
38041
38109
|
* - **ThreadSafety**: ReadSafe
|
|
38042
38110
|
*
|
|
38043
38111
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleDerive#StyleSheet)
|
|
@@ -38045,6 +38113,8 @@ interface StyleDerive extends Instance {
|
|
|
38045
38113
|
StyleSheet: StyleSheet | undefined;
|
|
38046
38114
|
}
|
|
38047
38115
|
/**
|
|
38116
|
+
* Links a `StyleSheet` to the instance tree whose root is the parent of the `StyleLink`.
|
|
38117
|
+
*
|
|
38048
38118
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleLink)
|
|
38049
38119
|
*/
|
|
38050
38120
|
interface StyleLink extends Instance {
|
|
@@ -38057,6 +38127,8 @@ interface StyleLink extends Instance {
|
|
|
38057
38127
|
*/
|
|
38058
38128
|
readonly _nominal_StyleLink: unique symbol;
|
|
38059
38129
|
/**
|
|
38130
|
+
* The `StyleSheet` to link to the parent such that the parent's descendants are styled accordingly.
|
|
38131
|
+
*
|
|
38060
38132
|
* - **ThreadSafety**: ReadSafe
|
|
38061
38133
|
*
|
|
38062
38134
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleLink#StyleSheet)
|
|
@@ -44320,6 +44392,28 @@ interface Wire extends Instance {
|
|
|
44320
44392
|
*/
|
|
44321
44393
|
TargetName: string;
|
|
44322
44394
|
}
|
|
44395
|
+
/**
|
|
44396
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
44397
|
+
*
|
|
44398
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MLSession)
|
|
44399
|
+
*/
|
|
44400
|
+
interface MLSession extends RBXObject {
|
|
44401
|
+
/**
|
|
44402
|
+
* **DO NOT USE!**
|
|
44403
|
+
*
|
|
44404
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
44405
|
+
* @hidden
|
|
44406
|
+
* @deprecated
|
|
44407
|
+
*/
|
|
44408
|
+
readonly _nominal_MLSession: unique symbol;
|
|
44409
|
+
/**
|
|
44410
|
+
* - **ThreadSafety**: Unsafe
|
|
44411
|
+
* - **Tags**: Yields
|
|
44412
|
+
*
|
|
44413
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MLSession#ForwardAsync)
|
|
44414
|
+
*/
|
|
44415
|
+
ForwardAsync(this: MLSession, data: object): object;
|
|
44416
|
+
}
|
|
44323
44417
|
/**
|
|
44324
44418
|
* - **Tags**: NotCreatable, NotReplicated
|
|
44325
44419
|
*
|
|
@@ -115,6 +115,7 @@ interface Services {
|
|
|
115
115
|
MessagingService: MessagingService;
|
|
116
116
|
MetaBreakpointManager: MetaBreakpointManager;
|
|
117
117
|
MLModelDeliveryService: MLModelDeliveryService;
|
|
118
|
+
MLService: MLService;
|
|
118
119
|
NetworkClient: NetworkClient;
|
|
119
120
|
NetworkServer: NetworkServer;
|
|
120
121
|
NetworkSettings: NetworkSettings;
|
|
@@ -743,6 +744,7 @@ interface Objects extends Instances {
|
|
|
743
744
|
ConfigSnapshot: ConfigSnapshot;
|
|
744
745
|
EditableImage: EditableImage;
|
|
745
746
|
EditableMesh: EditableMesh;
|
|
747
|
+
MLSession: MLSession;
|
|
746
748
|
Object: RBXObject;
|
|
747
749
|
ScreenshotCapture: ScreenshotCapture;
|
|
748
750
|
TerrainIterateOperation: TerrainIterateOperation;
|
|
@@ -2774,7 +2776,7 @@ interface CalloutService extends Instance {
|
|
|
2774
2776
|
readonly _nominal_CalloutService: unique symbol;
|
|
2775
2777
|
}
|
|
2776
2778
|
/**
|
|
2777
|
-
* A service which provides control over screenshot
|
|
2779
|
+
* A service which provides control over screenshot capture features.
|
|
2778
2780
|
*
|
|
2779
2781
|
* - **Tags**: NotCreatable, Service
|
|
2780
2782
|
*
|
|
@@ -7744,6 +7746,21 @@ interface MLModelDeliveryService extends Instance {
|
|
|
7744
7746
|
*/
|
|
7745
7747
|
readonly _nominal_MLModelDeliveryService: unique symbol;
|
|
7746
7748
|
}
|
|
7749
|
+
/**
|
|
7750
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
7751
|
+
*
|
|
7752
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MLService)
|
|
7753
|
+
*/
|
|
7754
|
+
interface MLService extends Instance {
|
|
7755
|
+
/**
|
|
7756
|
+
* **DO NOT USE!**
|
|
7757
|
+
*
|
|
7758
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
7759
|
+
* @hidden
|
|
7760
|
+
* @deprecated
|
|
7761
|
+
*/
|
|
7762
|
+
readonly _nominal_MLService: unique symbol;
|
|
7763
|
+
}
|
|
7747
7764
|
/**
|
|
7748
7765
|
* Represents a list of strings markers in chronological order.
|
|
7749
7766
|
*
|
|
@@ -12915,6 +12932,8 @@ interface StudioWidgetsService extends Instance {
|
|
|
12915
12932
|
readonly _nominal_StudioWidgetsService: unique symbol;
|
|
12916
12933
|
}
|
|
12917
12934
|
/**
|
|
12935
|
+
* The base class for `StyleSheet` and `StyleRule`.
|
|
12936
|
+
*
|
|
12918
12937
|
* - **Tags**: NotCreatable
|
|
12919
12938
|
*
|
|
12920
12939
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleBase)
|
|
@@ -12930,6 +12949,8 @@ interface StyleBase extends Instance {
|
|
|
12930
12949
|
readonly _nominal_StyleBase: unique symbol;
|
|
12931
12950
|
}
|
|
12932
12951
|
/**
|
|
12952
|
+
* Defines style properties which override properties on the instances affected by the `Selector` property.
|
|
12953
|
+
*
|
|
12933
12954
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleRule)
|
|
12934
12955
|
*/
|
|
12935
12956
|
interface StyleRule extends StyleBase {
|
|
@@ -12943,6 +12964,8 @@ interface StyleRule extends StyleBase {
|
|
|
12943
12964
|
readonly _nominal_StyleRule: unique symbol;
|
|
12944
12965
|
}
|
|
12945
12966
|
/**
|
|
12967
|
+
* Aggregates `StyleRules` and can be linked to `DataModel` trees to apply style properties to instances.
|
|
12968
|
+
*
|
|
12946
12969
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleSheet)
|
|
12947
12970
|
*/
|
|
12948
12971
|
interface StyleSheet extends StyleBase {
|
|
@@ -12956,6 +12979,8 @@ interface StyleSheet extends StyleBase {
|
|
|
12956
12979
|
readonly _nominal_StyleSheet: unique symbol;
|
|
12957
12980
|
}
|
|
12958
12981
|
/**
|
|
12982
|
+
* When parented to a `StyleSheet`, references another `StyleSheet` from which the parent inherits `StyleRules` and token definitions.
|
|
12983
|
+
*
|
|
12959
12984
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleDerive)
|
|
12960
12985
|
*/
|
|
12961
12986
|
interface StyleDerive extends Instance {
|
|
@@ -12969,6 +12994,8 @@ interface StyleDerive extends Instance {
|
|
|
12969
12994
|
readonly _nominal_StyleDerive: unique symbol;
|
|
12970
12995
|
}
|
|
12971
12996
|
/**
|
|
12997
|
+
* Links a `StyleSheet` to the instance tree whose root is the parent of the `StyleLink`.
|
|
12998
|
+
*
|
|
12972
12999
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StyleLink)
|
|
12973
13000
|
*/
|
|
12974
13001
|
interface StyleLink extends Instance {
|
|
@@ -14853,6 +14880,21 @@ interface Wire extends Instance {
|
|
|
14853
14880
|
*/
|
|
14854
14881
|
readonly _nominal_Wire: unique symbol;
|
|
14855
14882
|
}
|
|
14883
|
+
/**
|
|
14884
|
+
* - **Tags**: NotCreatable, NotReplicated
|
|
14885
|
+
*
|
|
14886
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/MLSession)
|
|
14887
|
+
*/
|
|
14888
|
+
interface MLSession extends RBXObject {
|
|
14889
|
+
/**
|
|
14890
|
+
* **DO NOT USE!**
|
|
14891
|
+
*
|
|
14892
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
14893
|
+
* @hidden
|
|
14894
|
+
* @deprecated
|
|
14895
|
+
*/
|
|
14896
|
+
readonly _nominal_MLSession: unique symbol;
|
|
14897
|
+
}
|
|
14856
14898
|
/**
|
|
14857
14899
|
* - **Tags**: NotCreatable, NotReplicated
|
|
14858
14900
|
*
|
|
@@ -33181,37 +33181,82 @@ declare namespace Enum {
|
|
|
33181
33181
|
}
|
|
33182
33182
|
export const OtherError: OtherError;
|
|
33183
33183
|
/**
|
|
33184
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureResult#
|
|
33184
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureResult#ScreenSizeChanged)
|
|
33185
|
+
*/
|
|
33186
|
+
export interface ScreenSizeChanged extends globalThis.EnumItem {
|
|
33187
|
+
Name: "ScreenSizeChanged";
|
|
33188
|
+
Value: 2;
|
|
33189
|
+
EnumType: typeof globalThis.Enum.VideoCaptureResult;
|
|
33190
|
+
}
|
|
33191
|
+
export const ScreenSizeChanged: ScreenSizeChanged;
|
|
33192
|
+
/**
|
|
33193
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureResult#TimeLimitReached)
|
|
33194
|
+
*/
|
|
33195
|
+
export interface TimeLimitReached extends globalThis.EnumItem {
|
|
33196
|
+
Name: "TimeLimitReached";
|
|
33197
|
+
Value: 3;
|
|
33198
|
+
EnumType: typeof globalThis.Enum.VideoCaptureResult;
|
|
33199
|
+
}
|
|
33200
|
+
export const TimeLimitReached: TimeLimitReached;
|
|
33201
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VideoCaptureResult>;
|
|
33202
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.VideoCaptureResult | undefined;
|
|
33203
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.VideoCaptureResult | undefined;
|
|
33204
|
+
}
|
|
33205
|
+
export type VideoCaptureResult = VideoCaptureResult.Success | VideoCaptureResult.OtherError | VideoCaptureResult.ScreenSizeChanged | VideoCaptureResult.TimeLimitReached;
|
|
33206
|
+
/**
|
|
33207
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureStartedResult)
|
|
33208
|
+
*/
|
|
33209
|
+
export namespace VideoCaptureStartedResult {
|
|
33210
|
+
/**
|
|
33211
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureStartedResult#Success)
|
|
33212
|
+
*/
|
|
33213
|
+
export interface Success extends globalThis.EnumItem {
|
|
33214
|
+
Name: "Success";
|
|
33215
|
+
Value: 0;
|
|
33216
|
+
EnumType: typeof globalThis.Enum.VideoCaptureStartedResult;
|
|
33217
|
+
}
|
|
33218
|
+
export const Success: Success;
|
|
33219
|
+
/**
|
|
33220
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureStartedResult#OtherError)
|
|
33221
|
+
*/
|
|
33222
|
+
export interface OtherError extends globalThis.EnumItem {
|
|
33223
|
+
Name: "OtherError";
|
|
33224
|
+
Value: 1;
|
|
33225
|
+
EnumType: typeof globalThis.Enum.VideoCaptureStartedResult;
|
|
33226
|
+
}
|
|
33227
|
+
export const OtherError: OtherError;
|
|
33228
|
+
/**
|
|
33229
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureStartedResult#CapturingAlready)
|
|
33185
33230
|
*/
|
|
33186
33231
|
export interface CapturingAlready extends globalThis.EnumItem {
|
|
33187
33232
|
Name: "CapturingAlready";
|
|
33188
33233
|
Value: 2;
|
|
33189
|
-
EnumType: typeof globalThis.Enum.
|
|
33234
|
+
EnumType: typeof globalThis.Enum.VideoCaptureStartedResult;
|
|
33190
33235
|
}
|
|
33191
33236
|
export const CapturingAlready: CapturingAlready;
|
|
33192
33237
|
/**
|
|
33193
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/
|
|
33238
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureStartedResult#NoDeviceSupport)
|
|
33194
33239
|
*/
|
|
33195
33240
|
export interface NoDeviceSupport extends globalThis.EnumItem {
|
|
33196
33241
|
Name: "NoDeviceSupport";
|
|
33197
33242
|
Value: 3;
|
|
33198
|
-
EnumType: typeof globalThis.Enum.
|
|
33243
|
+
EnumType: typeof globalThis.Enum.VideoCaptureStartedResult;
|
|
33199
33244
|
}
|
|
33200
33245
|
export const NoDeviceSupport: NoDeviceSupport;
|
|
33201
33246
|
/**
|
|
33202
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/
|
|
33247
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoCaptureStartedResult#NoSpaceOnDevice)
|
|
33203
33248
|
*/
|
|
33204
33249
|
export interface NoSpaceOnDevice extends globalThis.EnumItem {
|
|
33205
33250
|
Name: "NoSpaceOnDevice";
|
|
33206
33251
|
Value: 4;
|
|
33207
|
-
EnumType: typeof globalThis.Enum.
|
|
33252
|
+
EnumType: typeof globalThis.Enum.VideoCaptureStartedResult;
|
|
33208
33253
|
}
|
|
33209
33254
|
export const NoSpaceOnDevice: NoSpaceOnDevice;
|
|
33210
|
-
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.
|
|
33211
|
-
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.
|
|
33212
|
-
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.
|
|
33255
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VideoCaptureStartedResult>;
|
|
33256
|
+
export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.VideoCaptureStartedResult | undefined;
|
|
33257
|
+
export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.VideoCaptureStartedResult | undefined;
|
|
33213
33258
|
}
|
|
33214
|
-
export type
|
|
33259
|
+
export type VideoCaptureStartedResult = VideoCaptureStartedResult.Success | VideoCaptureStartedResult.OtherError | VideoCaptureStartedResult.CapturingAlready | VideoCaptureStartedResult.NoDeviceSupport | VideoCaptureStartedResult.NoSpaceOnDevice;
|
|
33215
33260
|
/**
|
|
33216
33261
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/VideoDeviceCaptureQuality)
|
|
33217
33262
|
*/
|