Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 719 Bytes

decentraland-ecs.size.lerp.md

File metadata and controls

22 lines (15 loc) · 719 Bytes

Home > decentraland-ecs > Size > Lerp

Size.Lerp method

Creates a new Size set at the linear interpolation "amount" between "start" and "end"

Signature:

static Lerp(start: Size, end: Size, amount: number): Size;

Returns: Size

a new Size set at the linear interpolation "amount" between "start" and "end"

Parameters

Parameter Type Description
start Size starting size to lerp between
end Size end size to lerp between
amount number amount to lerp between the start and end values