ChatWindowConfiguration
Configures properties of the default chat window.
Memory category | Instances |
---|
Member index 17
Description
Configures properties of the default text chat window. It is parented to TextChatService.
History 39
- 645 Add DeriveNewMessageProperties
- 553 Change Default of WidthScale from to 1
- 553 Change Default of VerticalAlignment from to Top
- 553 Change Default of TextStrokeTransparency from to 0.5
- 553 Change Default of TextStrokeColor3 from to Color3(0, 0, 0)
- 553 Change Default of TextSize from to 14
- 553 Change Default of TextColor3 from to Color3(1, 1, 1)
- 553 Change Default of HorizontalAlignment from to Left
- 553 Change Default of HeightScale from to 1
- 553 Change Default of FontFace from to
- 553 Change Default of Enabled from to true
- 553 Change Default of BackgroundTransparency from to 0.2999999999999999889
- 553 Change Default of BackgroundColor3 from to Color3(0.0980392, 0.105882, 0.113725)
- 553 Change Default of from to Vector2(0, 0)
- 553 Change Default of AbsoluteSize from to Vector2(0, 0)
- 553 Change Default of from to Vector2(0, 0)
- 553 Change Default of AbsolutePosition from to Vector2(0, 0)
- 552 Change Tags of VerticalAlignment from [NotReplicated] to []
- 552 Change CanSave of VerticalAlignment from false to true
- 552 Change Tags of HorizontalAlignment from [NotReplicated] to []
- 552 Change CanSave of HorizontalAlignment from false to true
- 551 Add WidthScale
- 551 Add TextStrokeTransparency
- 551 Add TextStrokeColor3
- 551 Add TextSize
- 551 Add TextColor3
- 551 Add HeightScale
- 551 Add FontFace
- 551 Add BackgroundTransparency
- 551 Add BackgroundColor3
- 547 Add VerticalAlignment
- 547 Add HorizontalAlignment
- 540 Add
- 540 Add AbsoluteSize
- 540 Add
- 540 Add AbsolutePosition
- 533 Change Tags of ChatWindowConfiguration from [NotCreatable, NotBrowsable] to [NotCreatable]
- 514 Add Enabled
- 514 Add ChatWindowConfiguration
Members 17
AbsolutePosition
Type | Default | |
---|---|---|
Vector2 | 0, 0 |
Read-only property that provides the screen position of the default chat window in pixels. Behaves similarly to GuiBase2d.AbsolutePosition.
Thread safety | Unsafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 2
- 553 Change Default of AbsolutePosition from to Vector2(0, 0)
- 540 Add AbsolutePosition
AbsoluteSize
Type | Default | |
---|---|---|
Vector2 | 0, 0 |
Read-only property that provides the screen size of the default chat window in pixels. Behaves similarly to GuiBase2d.AbsoluteSize.
Thread safety | Unsafe |
---|---|
Category | Data |
Loaded/Saved | false |
History 2
- 553 Change Default of AbsoluteSize from to Vector2(0, 0)
- 540 Add AbsoluteSize
BackgroundColor3
Type | Default | |
---|---|---|
Color3 | 0.0980392, 0.105882, 0.113725 |
Background color of the default chat window. If the background color is not overridden, this value will respect the user's GuiService.PreferredTransparency by making the menu more gray as the transparency of the menu decreases. Default value is Color3.new(25, 27, 29).
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
History 2
- 553 Change Default of BackgroundColor3 from to Color3(0.0980392, 0.105882, 0.113725)
- 551 Add BackgroundColor3
BackgroundTransparency
Type | Default | |
---|---|---|
double | 0.2999999999999999889 |
Background transparency of the default chat window as a number between 0
and 1
. This value is multiplied with the user's
GuiService.PreferredTransparency to create the effective
background transparency used by the chat window, which may be more opaque
than this value set here. Default value is 0.3
.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
History 2
- 553 Change Default of BackgroundTransparency from to 0.2999999999999999889
- 551 Add BackgroundTransparency
DeriveNewMessageProperties
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
ChatWindowMessageProperties |
Creates a new ChatWindowMessageProperties instance that can be used to customize the appearance of messages in the chat window. ChatWindowMessageProperties inherits from TextChatMessageProperties.
Thread safety | Unsafe |
---|
History 1
Enabled
Type | Default | |
---|---|---|
bool | true |
Whether to show the default chat window. Set to false
to hide.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | true |
FontFace
Type | Default | |
---|---|---|
Font |
Font used to render text in the default chat window. Default is Font.BuilderSansMedium.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
HeightScale
Type | Default | |
---|---|---|
float | 1 |
Factor by which the height of the default chat window should be scaled.
Must be a value between 0.5
and 2
. Defining a value outside of range
clamps the actual value to the closest bound.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | true |
History 2
- 553 Change Default of HeightScale from to 1
- 551 Add HeightScale
HorizontalAlignment
Type | Default | |
---|---|---|
HorizontalAlignment | Left |
Horizontal alignment of the chat window. Behaves similarly to UIGridStyleLayout.HorizontalAlignment. Setting to Left or Right adding a small padding away from touching the corresponding horizontal edge of the screen. Setting to Center aligns the window in the horizontal middle of the screen. Default value is Left.
Thread safety | Unsafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 4
- 553 Change Default of HorizontalAlignment from to Left
- 552 Change Tags of HorizontalAlignment from [NotReplicated] to []
- 552 Change CanSave of HorizontalAlignment from false to true
- 547 Add HorizontalAlignment
TextColor3
Type | Default | |
---|---|---|
Color3 | 1, 1, 1 |
Color of the text in default chat window. Default value is Color3.new(255, 255, 255).
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
History 2
- 553 Change Default of TextColor3 from to Color3(1, 1, 1)
- 551 Add TextColor3
TextSize
Type | Default | |
---|---|---|
int64 | 14 |
Size of the text in default chat window. Default value is 14
.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
TextStrokeColor3
Type | Default | |
---|---|---|
Color3 | 0, 0, 0 |
Color of the text stroke for text in default chat window. Default value is Color3.new(0, 0, 0).
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
History 2
- 553 Change Default of TextStrokeColor3 from to Color3(0, 0, 0)
- 551 Add TextStrokeColor3
TextStrokeTransparency
Type | Default | |
---|---|---|
double | 0.5 |
Transparency of the text stroke for text in default chat window. Default
value is 0.5
.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |
History 2
- 553 Change Default of TextStrokeTransparency from to 0.5
- 551 Add TextStrokeTransparency
VerticalAlignment
Type | Default | |
---|---|---|
VerticalAlignment | Top |
Vertical alignment of the chat window. Behaves similarly to UIGridStyleLayout.VerticalAlignment. Setting to Top or Bottom adds a small padding away from touching the corresponding edge of the screen. Setting to Center aligns the window in the vertical middle of the screen. Default value is Top.
Thread safety | Unsafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 4
- 553 Change Default of VerticalAlignment from to Top
- 552 Change Tags of VerticalAlignment from [NotReplicated] to []
- 552 Change CanSave of VerticalAlignment from false to true
- 547 Add VerticalAlignment
WidthScale
Type | Default | |
---|---|---|
float | 1 |
Factor by which the width of the default chat window should be scaled.
Must be a value between 0.5
and 2
. Defining a value outside of range
clamps the actual value to the closest bound.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | true |
History 2
- 553 Change Default of WidthScale from to 1
- 551 Add WidthScale