Vec2i
classInteger vector 2
- read-only Assigning to the field raises an error.
Fields
| Name | Type | Description | |
|---|---|---|---|
| zero | read-only | Vec2i | (0, 0) |
| one | read-only | Vec2i | (1, 1) |
| x | integer | ||
| y | integer | ||
Functions
Used by
- GenContext.pos field
- MapStructure.offset field
- Region.pos field
- RegionMap.get_region param
- RegionMap.find_region param
- RegionMap.has_region param
- RegionMap.world_block_to_grid return
- SourceData.position field
- StaticStructure.size field
- Vec3i.xy return