ドキュメント

Unity Engine

Unity Engine

Vector4

Creates a new vector with given x, y, z, w components.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Vector4(float, float, float, float)

Creates a new vector with given x, y, z, w components.
public Vector4(float x, float y, float z, float w)

Parameters

Value for the x component.

Value for the y component.

Value for the z component.

Value for the w component.

Vector4(float, float, float)

Creates a new vector with given x, y, z components and sets
w
to zero.
public Vector4(float x, float y, float z)

Parameters

Value for the x component.

Value for the y component.

Value for the z component.

Vector4(float, float)

Creates a new vector with given x, y components and sets
z
and
w
to zero.
public Vector4(float x, float y)

Parameters

Value for the x component.

Value for the y component.