struct
Godot::Vector4i
- Godot::Vector4i
- Struct
- Value
- Object
Overview
4-element integer vector structure.
Defined in:
libgodot/types.crConstant Summary
-
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)
- .new(x : Number, y : Number, z : Number, w : Number)
- .new(pointer : Pointer(Void))
Instance Method Summary
-
#to_s(io : IO) : Void
Same as
#inspect(io). - #w : Int32
- #w=(w : Int32)
- #x : Int32
- #x=(x : Int32)
- #y : Int32
- #y=(y : Int32)
- #z : Int32
- #z=(z : Int32)