BrickColorValue
A container object for a single BrickColor value.
Memory category | Instances |
---|
Member index 3
Description
An instance which is used to store a BrickColor value.
History 11
- 553 Change PreferredDescriptor of changed from to Changed
- 553 Change Default of Value from to
- 486 Change ThreadSafety of Value from ReadOnly to ReadSafe
- 462 Change ThreadSafety of changed from to Unsafe
- 462 Change ThreadSafety of Changed from to Unsafe
- 462 Change ThreadSafety of Value from to ReadOnly
- 335 Change Superclass of BrickColorValue from Instance to ValueBase
- 50 Add changed
- 47 Add Changed
- 47 Add Value
- 47 Add BrickColorValue
Members 3
Changed
Parameters (1) | |
---|---|
value | BrickColor |
Fired whenever the BrickColorValue.Value of the BrickColorValue 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 BrickColorValue changes and to track the different values that it may change to.
Equivalent changed events exist for similar objects, such as NumberValue and StringValue, depending on what object type best suits the need.
Thread safety | Unsafe |
---|
Value
Type | Default | |
---|---|---|
BrickColor |
Used to hold a BrickColor value.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
changed
Parameters (1) | |
---|---|
value | BrickColor |
This event is deprecated. It exists only for backward compatibility, and should not be used for new work. Changed should be used instead.
Thread safety | Unsafe |
---|