Vector4.Vector4 构造四维向量


static function Vector4 (x : float, y : float, z : float, w : float) : Vector4

Description描述

Creates a new vector with given x, y, z, w components.

创建一个新的具有给定 x, y, z, w 组件的向量。

• static function Vector4 (x : float, y : float, z : float) : Vector4

Description描述

Creates a new vector with given x, y, z components and sets w to zero.

创建一个新的具有给定x, y, z组件的向量并设置w的值为零。

• static function Vector4 (x : float, y : float) : Vector4

Description描述

Creates a new vector with given x, y components and sets z and w to zero.

创建一个新的具有给定x,y组件的向量并设定z和w的值为零。


,