Vector4

docs.vector4
Meta name Allowed other parameters Meta execution method
__le
  • Vector4
x <= y
__lt
  • Vector4
x < y
__len
#x
__unm
-x
__eq
  • Vector4
x == y
__mod
  • Number
  • Vector4
x % y
__div
  • Number
  • Vector4
x / y
__mul
  • Number
  • Vector4
  • Matrix4
x * y
__add
  • Vector4
x + y
__sub
  • Vector4
x - y

Vector4.length

docs.vector4.length
overload 1:
Vector4:length()
Method Property Fluent Description Representation
Return Value a Number

Vector4.dot

docs.vector4.dot
overload 1:
Vector4:dot(vec2)
Method Property Fluent Description Representation
vec2 accepts a Vector4
Return Value a Number

Vector4.set

docs.vector4.set
overload 1:
Vector4:set(x, y, z, w)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
w accepts a Number
Return Value nil

Vector4.copy

docs.vector4.copy
overload 1:
Vector4:copy()
Method Property Fluent Description Representation
Return Value a Vector4

Vector4.normalize

docs.vector4.normalize
overload 1:
Vector4:normalize()
Method Property Fluent Description Representation
Return Value nil

Vector4.reset

docs.vector4.reset
overload 1:
Vector4:reset()
Method Property Fluent Description Representation
Return Value nil

Vector4.normalized

docs.vector4.normalized
overload 1:
Vector4:normalized()
Method Property Fluent Description Representation
Return Value a Vector4

Vector4.clamped

docs.vector4.clamped
overload 1:
Vector4:clamped(minLength, maxLength)
Method Property Fluent Description Representation
minLength accepts a Number
maxLength accepts a Number
Return Value a Vector4

Vector4.lengthSquared

docs.vector4.lengthsquared
overload 1:
Vector4:lengthSquared()
Method Property Fluent Description Representation
Return Value a Number

Vector4.toRad

docs.vector4.torad
overload 1:
Vector4:toRad()
Method Property Fluent Description Representation
Return Value a Vector4

Vector4.clampLength

docs.vector4.clamplength
overload 1:
Vector4:clampLength(minLength, maxLength)
Method Property Fluent Description Representation
minLength accepts a Number
maxLength accepts a Number
Return Value nil

Vector4.toDeg

docs.vector4.todeg
overload 1:
Vector4:toDeg()
Method Property Fluent Description Representation
Return Value a Vector4

Vector4.x

docs.vector4.x
field signature:
x
Method Property Fluent Description Representation
Field Type a Number

Vector4.y

docs.vector4.y
field signature:
y
Method Property Fluent Description Representation
Field Type a Number

Vector4.z

docs.vector4.z
field signature:
z
Method Property Fluent Description Representation
Field Type a Number

Vector4.w

docs.vector4.w
field signature:
w
Method Property Fluent Description Representation
Field Type a Number
a a