기술 자료

Unity Engine

Unity Engine

Max

Creates a vector that is made from the largest components of two vectors.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

Max(Vector3Int, Vector3Int)

Creates a vector that is made from the largest components of two vectors.
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.

Max(Vector3Int, Vector3Int)

Creates a vector that is made from the largest components of two vectors.
public static Vector3Int Max(in Vector3Int lhs, in 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.