StudioTheme
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Memory category | Instances |
---|
Member index 1
Removed member index 1
History | Member | |
---|---|---|
474 | GetPath(assetid: string, modifier: StudioStyleGuideModifier = Default): string |
Description
History 9
- 474 Remove GetPath
- 462 Change ThreadSafety of GetPath from to Unsafe
- 462 Change ThreadSafety of GetColor from to Unsafe
- 454 Change Tags of GetPath from [] to [Deprecated]
- 452 Change Tags of GetPath from [Deprecated] to []
- 453 Change Tags of GetPath from [] to [Deprecated]
- 350 Add GetPath
- 350 Add GetColor
- 350 Add StudioTheme
Members 1
GetColor
Parameters (2) | Default | |
---|---|---|
styleguideitem | StudioStyleGuideColor | |
modifier | StudioStyleGuideModifier | Default |
Returns (1) | ||
Color3 |
The GetColor() function returns the Color3 corresponding to the arguments provided. For instance, if you would like to get the Color3 of the Studio "MainButton" when it's disabled, you can use the following code:
1
|
|
See the StudioStyleGuideColor reference for a list of Studio elements and StudioStyleGuideModifier for a list of modifiers.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |
Removed members 1
GetPath
Parameters (2) | Default | |
---|---|---|
assetid | string | |
modifier | StudioStyleGuideModifier | Default |
Returns (1) | ||
string |
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
Security | PluginSecurity |
---|---|
Thread safety | Unsafe |