Class
DoubleConstrainedValue
Deprecated
An instance which is used to create a number value which can never be less than the MinValue or more than the MaxValue.
Deprecated. The DoubleConstrainedValue object has been deprecated as developers can now
use the math.clamp() function to constrain values.
An instance which is used to create a number value which can never be less than the MinValue or more than the MaxValue.
Properties 4#
ConstrainedValuedouble | ReadSafeDeprecatedHiddenNotReplicated |
MaxValuedouble | The highest number that the DoubleConstrainedValue.Value property
can be.ReadSafeDeprecated |
MinValuedouble | The lowest number that the DoubleConstrainedValue.Value property
can be.ReadSafeDeprecated |
Valuedouble | Used to hold a number value between
DoubleConstrainedValue.MinValue and
DoubleConstrainedValue.MaxValue.ReadSafeDeprecatedNotReplicated |
ConstrainedValue: double#
HiddenNotReplicatedReadSafeDeprecated
Deprecated. The DoubleConstrainedValue object has been deprecated as
developers can now use the math.clamp() function to constrain
values.
MaxValue: double#
ReadSafeDeprecated
Deprecated. The DoubleConstrainedValue object has been deprecated as
developers can now use the math.clamp() function to constrain
values.
The highest number that the DoubleConstrainedValue.Value property
can be.
MinValue: double#
ReadSafeDeprecated
Deprecated. The DoubleConstrainedValue object has been deprecated as
developers can now use the math.clamp() function to constrain
values.
The lowest number that the DoubleConstrainedValue.Value property
can be.
Value: double#
NotReplicatedReadSafeDeprecated
Deprecated. The DoubleConstrainedValue object has been deprecated as
developers can now use the math.clamp() function to constrain
values.
Used to hold a number value between
DoubleConstrainedValue.MinValue and
DoubleConstrainedValue.MaxValue.
Events 2#
| Changed | Fired whenever the DoubleConstrainedValue.Value of the
DoubleConstrainedValue is changed.Deprecated |
| changed | Deprecated |
Changed(value: double)#
Deprecated
Deprecated. The DoubleConstrainedValue object has been deprecated as
developers can now use the math.clamp() function to constrain
values.
Fired whenever the DoubleConstrainedValue.Value of the
DoubleConstrainedValue is changed.
| Name | Type | Default | Description |
|---|---|---|---|
value | double |
changed(value: double)#
DeprecatedDeprecated
Deprecated. This event is a deprecated variant of
DoubleConstrainedValue.Changed which has also been deprecated.
Neither event should be used in new work.
| Name | Type | Default | Description |
|---|---|---|---|
value | double |
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild