IntConstrainedValue
Stores an integer constrained by minimum and maximum values.
Behavior
IntConstrainedValue stores an integer constrained by minimum and maximum values.
Summary
Members4
Properties3
The upper bound of the stored value.
The lower bound of the stored value.
The value stored by this instance.
Methods1
Returns this instance if it is an ExecutionGroup.
Properties
MaxValue
IntConstrainedValue.MaxValue: numberThe upper bound of the stored value.
MinValue
IntConstrainedValue.MinValue: numberThe lower bound of the stored value.
Value
IntConstrainedValue.Value: numberThe value stored by this instance.
Methods
GetExecutionGroup
IntConstrainedValue:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying