/
Color3Value.yaml
81 lines (78 loc) · 2.18 KB
/
Color3Value.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: Color3Value
type: class
category: Values
memory_category: Instances
summary: |
A container object for a single Color3 value.
description: |
A container object for a single `Datatype.Color3` value.
code_samples:
- Set-Color3Value
inherits:
- ValueBase
tags: []
deprecation_message: ''
properties:
- name: Color3Value.Value
summary: |
The stored `Datatype.Color3`.
description: |
The stored `Datatype.Color3`.
code_samples:
type: Color3
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: true
can_save: true
methods: []
events:
- name: Color3Value.Changed
summary: |
Fired whenever the `Class.Color3Value.Value` is changed.
description: |
Fired whenever the `Class.Color3Value.Value` of the `Class.Color3Value` is
changed. It will run with the new value being stored in the argument
object, instead of a string representing the property being changed.
This event, like other changed events, can be used to track when an
Color3Value changes and to track the different values that it may change
to.
For instance, this may be useful in games that rely on Color3Values to
track values such as colors for games using customizable outfits or items.
Equivalent changed events exist for similar objects, such as
`Class.NumberValue` and `Class.StringValue`, depending on what object type
best suits the need.
code_samples:
- how-to-use-color3value-changed
parameters:
- name: value
type: Color3
default:
summary: |
The new value after the change.
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
- name: Color3Value.changed
summary: ''
description: ''
code_samples:
parameters:
- name: value
type: Color3
default:
summary: ''
tags:
- Deprecated
deprecation_message: |
This deprecated event is a variant of `Class.Color3Value.Changed` which
should be used instead.
security: None
thread_safety: Unsafe
callbacks: []