Skip to main content

Vector4.Max(Vector4 lhs, Vector4 rhs)

Returns a vector that is made from the largest components of two vectors.

Parameters:

NameTypeDescription
lhsVector4lhs Vector4
rhsVector4rhs Vector4.

Returns:

typeDescription
Vector4Vector that is made from the largest components of two vectors.

Usage

---@type Vector4
local lhs;

---@type Vector4
local rhs;


local val0 = Vector4:Max(lhs, rhs)