Home > decentraland-ecs > Vector3 > Dot
Returns the dot product (float) between the vectors "left" and "right"
Signature:
static Dot(left: ReadOnlyVector3, right: ReadOnlyVector3): number;
Returns: number
the dot product
Parameter | Type | Description |
---|---|---|
left |
ReadOnlyVector3 |
defines the left operand |
right |
ReadOnlyVector3 |
defines the right operand |