ドキュメント

Unity Engine

Unity Engine

Min

Creates a vector that is made from the smallest components of two vectors.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Min(Vector3Int, Vector3Int)

Creates a vector that is made from the smallest components of two vectors.
public static Vector3Int Min(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 smallest components of two vectors.

Remarks

Additional Resources: Vector3Int.Max function.

Min(Vector3Int, Vector3Int)

Creates a vector that is made from the smallest components of two vectors.
public static Vector3Int Min(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 smallest components of two vectors.

Remarks

Additional Resources: Vector3Int.Max function.