기술 자료

Unity Engine

Unity Engine

Vector4

Creates a new vector with given x, y, z, w components.
읽는 시간 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.