Godot::Vector3i
Inherits Struct < Value < Object
3-element structure that can be used to represent 3D grid coordinates or discrete voxels with 32-bit integers.
Constants
BACK = Vector3i.new(0, 0, 1)
DOWN = Vector3i.new(0, -1, 0)
FORWARD = Vector3i.new(0, 0, -1)
LEFT = Vector3i.new(-1, 0, 0)
ONE = Vector3i.new(1, 1, 1)
RIGHT = Vector3i.new(1, 0, 0)
UP = Vector3i.new(0, 1, 0)
ZERO = Vector3i.new(0, 0, 0)
Constructors
new(x : Int32 = 0, y : Int32 = 0, z : Int32 = 0)
Sourcenew(x : Number, y : Number, z : Number)
Sourcenew(pointer : Pointer(Void))
SourceInstance methods
abs
Sourcesign
Sourceto_v3
Sourcex=(x : Int32)
Sourcey=(y : Int32)
Sourcez=(z : Int32)
Source