Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 679 Bytes

decentraland-ecs.vector4.distance.md

File metadata and controls

21 lines (14 loc) · 679 Bytes

Home > decentraland-ecs > Vector4 > Distance

Vector4.Distance method

Returns the distance (float) between the vectors "value1" and "value2".

Signature:

static Distance(value1: ReadOnlyVector4, value2: ReadOnlyVector4): number;

Returns: number

the distance between the two vectors

Parameters

Parameter Type Description
value1 ReadOnlyVector4 value to calulate the distance between
value2 ReadOnlyVector4 value to calulate the distance between