UDim

사용되지 않는 항목 표시

The UDim data type represents a one-dimensional value with two components, a relative scale and an absolute offset.

Math Operations

The following math operations are valid for the UDim data type:

OperationDescription
UDim + UDimProduces a UDim representing the sum of the two UDim values.
UDim - UDimProduces a UDim representing the difference between the two UDim values.

요약

생성자

속성

생성자

new

매개 변수

Scale: number
Offset: number

속성

Scale

The scale component of the UDim. The value this represents is scaled relative to the axis that this UDim is representing in a UDim2.

Offset

The pixel unit component of the UDim.

수학 연산

UDim + UDim : UDim

UDim - UDim : UDim