struct
Godot::Vector4i
- Godot::Vector4i
- Struct
- Value
- Object
Overview
4-element integer vector structure.
Defined in:
libgodot/types/vector4.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
- #!=(other : Vector4i) : Bool
- #*(scalar : Number) : Vector4i
- #*(other : Vector4i) : Vector4i
- #+(other : Vector4i) : Vector4i
- #-(other : Vector4i) : Vector4i
- #- : Vector4i
- #/(scalar : Number) : Vector4i
- #/(other : Vector4i) : Vector4i
- #==(other : Vector4i) : Bool
- #abs : Vector4i
- #clamp(min : Vector4i, max : Vector4i) : Vector4i
- #max(other : Vector4i) : Vector4i
- #min(other : Vector4i) : Vector4i
- #sign : Vector4i
-
#to_s(io : IO) : Void
Same as
#inspect(io). - #to_v4 : Vector4
- #w : Int32
- #w=(w : Int32)
- #x : Int32
- #x=(x : Int32)
- #y : Int32
- #y=(y : Int32)
- #z : Int32
- #z=(z : Int32)