Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Max(Vector3Int, Vector3Int)

Creates a vector that is made from the largest components of two vectors.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Vector3Int Max(Vector3Int lhs, Vector3Int rhs)

Parameters

The first vector to compare.

The second vector to compare.

Returns

Type

Description

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

Remarks

Additional Resources: Vector3Int.Min function.