struct

Godot::Vector4i

Inherits Struct < Value < Object

4-element integer vector structure.

Constants

ONE = Vector4i.new(1, 1, 1, 1)
ZERO = Vector4i.new(0, 0, 0, 0)

Constructors

new(x : Int32 = 0, y : Int32 = 0, z : Int32 = 0, w : Int32 = 0)
Source
new(x : Number, y : Number, z : Number, w : Number)
Source
new(pointer : Pointer(Void))
Source

Instance methods

to_s(io : IO) : Void

Same as #inspect(io).

Source
w=(w : Int32)
Source
x=(x : Int32)
Source
y=(y : Int32)
Source
z=(z : Int32)
Source