ドキュメント

Unity Engine

Unity Engine

operator +(Vector3Int, Vector3Int)

Adds two vectors.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Vector3Int operator +(Vector3Int a, Vector3Int b)

Parameters

The first vector to add.

The second vector to add.

Returns

Type

Description

Vector3IntThe resulting vector formed from component-wise addition of
a
and
b
.

Remarks

This method adds the corresponding components of each vector together, to produce a new vector.