DoubleConstrainedValue
사용되지 않는 항목 표시
*이 콘텐츠는 AI(베타)를 사용해 번역되었으며, 오류가 있을 수 있습니다. 이 페이지를 영어로 보려면 여기를 클릭하세요.
MinValue 보다 작거나 MaxValue 보다 많을 수 없는 숫자 값을 생성하는 데 사용되는 인스턴스.
요약
속성
DoubleConstrainedValue.Value 속성이 될 수 있는 가장 높은 번호.
DoubleConstrainedValue.Value 속성이 될 수 있는 가장 낮은 번호.
DoubleConstrainedValue.MinValue 와 DoubleConstrainedValue.MaxValue 사이의 숫자 값을 유지하는 데 사용됩니다.
이벤트
변경될 때마다 DoubleConstrainedValue.Value 의 DoubleConstrainedValue 가 발사됩니다.
속성
메서드
이벤트
Changed
변경될 때마다 DoubleConstrainedValue.Value 의 DoubleConstrainedValue 가 발사됩니다.
매개 변수
코드 샘플
The below example, assuming all referenced objects existed, would print the DoubleConstrainedValue's new value each time it's changed. In the example below it would print 2, assuming it's within DoubleConstrainedValue's MinValue and MaxValue range. Otherwise there will be no change.
DoubleConstrainedValue.Changed
workspace.DoubleConstrainedValue.Changed:Connect(function(newValue)
print(newValue)
end)
workspace.DoubleConstrainedValue.Value = 2