类名
a
b
g
r
W component
W component
X component
X component
Y component
Y component
Z component
Z component
Math.ceil the components of this
this
Math.floor the components of this
this
从数组赋值
数组
数组偏移值
从十六进制值赋值
颜色的十六进制值,可以以下形式:"#ff9966", "ff9966", "#f96", "f96", 0xff9966
从数组赋值
数组
数组偏移值
Calculates the length of this
length of this
Performs a linear interpolation between two vec4's
interpolation amount between the two vectors
this
Negates the components of this
this
Normalize this
this
Generates a random vector with the given scale
Optionalscale: number
Length of the resulting vector. If ommitted, a unit vector will be returned
this
Math.round the components of this
this
Scales this by a scalar number
amount to scale the vector by
this
Set the components of a vec4 to the given values
X component
Y component
Z component
W component
this
Calculates the squared length of this
squared length of this
转换到数组
数组
数组偏移值
转16进制
转换到数组
转换到的数组
数组偏移值
Transforms the vec4 with a quat
quaternion to transform with
this
颜色类