LuaDVec4

Type doc:

Fields:

w: number

x: number

y: number

z: number

Methods:

clone: function(self: LuaDVec4 ):( LuaDVec4 )

to_array: function(self: LuaDVec4 ):({number})

truncate: function(self: LuaDVec4 ):( LuaDVec3 )

with_x: function(self: LuaDVec4 , number):( LuaDVec4 )

with_y: function(self: LuaDVec4 , number):( LuaDVec4 )

with_z: function(self: LuaDVec4 , number):( LuaDVec4 )

with_w: function(self: LuaDVec4 , number):( LuaDVec4 )

dot: function(self: LuaDVec4 , LuaDVec4 ):(number)

dot_into_vec: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

min: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

max: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

clamp: function(self: LuaDVec4 , LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

min_element: function(self: LuaDVec4 ):(number)

max_element: function(self: LuaDVec4 ):(number)

element_sum: function(self: LuaDVec4 ):(number)

element_product: function(self: LuaDVec4 ):(number)

cmpeq: function(self: LuaDVec4 , LuaDVec4 ):( LuaBVec4 )

cmpne: function(self: LuaDVec4 , LuaDVec4 ):( LuaBVec4 )

cmpge: function(self: LuaDVec4 , LuaDVec4 ):( LuaBVec4 )

cmpgt: function(self: LuaDVec4 , LuaDVec4 ):( LuaBVec4 )

cmple: function(self: LuaDVec4 , LuaDVec4 ):( LuaBVec4 )

cmplt: function(self: LuaDVec4 , LuaDVec4 ):( LuaBVec4 )

abs: function(self: LuaDVec4 ):( LuaDVec4 )

signum: function(self: LuaDVec4 ):( LuaDVec4 )

copysign: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

is_negative_bitmask: function(self: LuaDVec4 ):(integer)

is_finite: function(self: LuaDVec4 ):(boolean)

is_nan: function(self: LuaDVec4 ):(boolean)

is_nan_mask: function(self: LuaDVec4 ):( LuaBVec4 )

length: function(self: LuaDVec4 ):(number)

length_squared: function(self: LuaDVec4 ):(number)

length_recip: function(self: LuaDVec4 ):(number)

distance: function(self: LuaDVec4 , LuaDVec4 ):(number)

distance_squared: function(self: LuaDVec4 , LuaDVec4 ):(number)

div_euclid: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

rem_euclid: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

normalize: function(self: LuaDVec4 ):( LuaDVec4 )

normalize_or: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

normalize_or_zero: function(self: LuaDVec4 ):( LuaDVec4 )

is_normalized: function(self: LuaDVec4 ):(boolean)

project_onto: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

reject_from: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

project_onto_normalized: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

reject_from_normalized: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

round: function(self: LuaDVec4 ):( LuaDVec4 )

floor: function(self: LuaDVec4 ):( LuaDVec4 )

ceil: function(self: LuaDVec4 ):( LuaDVec4 )

trunc: function(self: LuaDVec4 ):( LuaDVec4 )

fract: function(self: LuaDVec4 ):( LuaDVec4 )

fract_gl: function(self: LuaDVec4 ):( LuaDVec4 )

exp: function(self: LuaDVec4 ):( LuaDVec4 )

powf: function(self: LuaDVec4 , number):( LuaDVec4 )

recip: function(self: LuaDVec4 ):( LuaDVec4 )

lerp: function(self: LuaDVec4 , LuaDVec4 , number):( LuaDVec4 )

move_towards: function(self: LuaDVec4 , LuaDVec4 , number):( LuaDVec4 )

midpoint: function(self: LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

abs_diff_eq: function(self: LuaDVec4 , LuaDVec4 , number):(boolean)

clamp_length: function(self: LuaDVec4 , number , number):( LuaDVec4 )

clamp_length_max: function(self: LuaDVec4 , number):( LuaDVec4 )

clamp_length_min: function(self: LuaDVec4 , number):( LuaDVec4 )

mul_add: function(self: LuaDVec4 , LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

as_vec4: function(self: LuaDVec4 ):( LuaVec4 )

as_ivec4: function(self: LuaDVec4 ):( LuaIVec4 )

as_uvec4: function(self: LuaDVec4 ):( LuaUVec4 )

as_i64vec4: function(self: LuaDVec4 ):( LuaI64Vec4 )

as_u64vec4: function(self: LuaDVec4 ):( LuaU64Vec4 )

new: function(number , number , number , number):( LuaDVec4 )

splat: function(number):( LuaDVec4 )

select: function( LuaBVec4 , LuaDVec4 , LuaDVec4 ):( LuaDVec4 )

from_array: function({number}):( LuaDVec4 )

__tostring: function(self: LuaDVec4 ):(string)

__index: function(self: LuaDVec4 , integer):(number)

__newindex: function(self: LuaDVec4 , integer , number)

__mul: function(any , any):(any)

__mod: function(any , any):(any)

__eq: function(any , any):(any)

__unm: function(any):(any)

__sub: function(any , any):(any)

__add: function(any , any):(any)

__div: function(any , any):(any)