Vector3.Vector3 三维向量


static function Vector3 (x : float, y : float, z : float) : Vector3

Description描述

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

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

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

Description描述

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

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


,