UDim2

Show Deprecated

Summary

Constructors

new()  

new(xScale: number, xOffset: number, yScale: number, yOffset: number)  

new(x: UDim, y: UDim)  

fromScale(xScale: number, yScale: number)  

fromOffset(xOffset: number, yOffset: number)  

Properties

Methods

Lerp(goal: UDim2, alpha: number): UDim2  

Constructors

new

new

Parameters

xScale: number
xOffset: number
yScale: number
yOffset: number

new

Parameters

x: UDim
y: UDim

fromScale

Parameters

xScale: number
yScale: number

fromOffset

Parameters

xOffset: number
yOffset: number

Properties

Width

Height

Methods

Lerp

Parameters

goal: UDim2
alpha: number

Returns