UDim2
Artık kullanılmayanları göster
*Bu içerik, tercih ettiğin dilde çok yakında mevcut olacak.
The UDim2 data type represents a two-dimensional value where each dimension is composed of a relative scale and an absolute offset in pixels. It is a combination of two UDim data types representing the X and Y dimensions. The most common usages for UDim2 are setting the Size and Position of GuiObjects.
local guiObject = script.ParentguiObject.Size = UDim2.new(0, 300, 1, 0) -- 300 pixels wide; full height of parentguiObject.Position = UDim2.new(0, 50, 0, 0) -- 50 pixels from the left
Özet
Yapılandırıcılar
- new()
- fromOffset(xOffset : number,yOffset : number)
Özellikler
The X dimension scale and offset of the UDim2.
The Y dimension scale and offset of the UDim2.
The X dimension scale and offset of the UDim2.
The Y dimension scale and offset of the UDim2.
Yöntemler
Returns a UDim2 interpolated linearly between the value and the given goal.