Skip to content

format

typescript
Vector3.Min(lhs, rhs)

class: Vector3

description

Returns a vector composed of the minimum components of two vectors.

parameter

param_nametypedescription
lhsVector3The first vector involved in the operation.
rhsVector3The second vector involved in the operation.

return

typedescription
Vector3A vector composed of the minimum components of the two vectors.

code example

typescript
let lhs = new Vector3(1,2,3);
let rhs = new Vector3(3,4,5);
Debug.Log("Min is",Vector3.Min(lhs,rhs));