Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 768 Bytes

decentraland-ecs.color3.lerptoref.md

File metadata and controls

21 lines (15 loc) · 768 Bytes

Home > decentraland-ecs > Color3 > LerpToRef

Color3.LerpToRef method

Creates a new Color3 with values linearly interpolated of "amount" between the start Color3 and the end Color3

Signature:

static LerpToRef(left: Color3, right: Color3, amount: number, result: Color3): void;

Returns: void

Parameters

Parameter Type Description
left Color3 defines the start value
right Color3 defines the end value
amount number defines the gradient factor
result Color3 defines the Color3 object where to store the result