format
typescript
Vector4.Min(lhs, rhs)class: Vector4
description
Calculates the minimum value of each component of two Vector4 objects.
parameter
| param_name | type | description |
|---|---|---|
| lhs | Vector4 | The vector lhs. |
| rhs | Vector4 | The vector rhs. |
return
| type | description |
|---|---|
Vector4 | A new vector formed by the minimum values of the corresponding components of lhs and rhs. |
code example
typescript
let lhs = new Vector4(1, 2, 3, 4);
let rhs = new Vector4(3, 4, 5, 6);
let min = Vector4.Min(lhs, rhs);