Module grid_map

Consts

INVALID_CELL_ITEM = -1

Procs

proc theme(self: GridMap): MeshLibrary {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc theme=(self: GridMap; val: MeshLibrary) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellSize(self: GridMap): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellSize=(self: GridMap; val: Vector3) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellOctantSize(self: GridMap): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellOctantSize=(self: GridMap; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellCenterX(self: GridMap): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellCenterX=(self: GridMap; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellCenterY(self: GridMap): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellCenterY=(self: GridMap; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellCenterZ(self: GridMap): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellCenterZ=(self: GridMap; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellScale(self: GridMap): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc cellScale=(self: GridMap; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc collisionLayer(self: GridMap): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc collisionLayer=(self: GridMap; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc collisionMask(self: GridMap): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc collisionMask=(self: GridMap; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCollisionMaskBit(self: GridMap; bit: int64; value: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCollisionMaskBit(self: GridMap; bit: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCollisionLayerBit(self: GridMap; bit: int64; value: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCollisionLayerBit(self: GridMap; bit: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCellItem(self: GridMap; x: int64; y: int64; z: int64; item: int64;
                orientation: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCellItem(self: GridMap; x: int64; y: int64; z: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCellItemOrientation(self: GridMap; x: int64; y: int64; z: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc worldToMap(self: GridMap; pos: Vector3): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc mapToWorld(self: GridMap; x: int64; y: int64; z: int64): Vector3 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc resourceChanged(self: GridMap; resource: Resource) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setClip(self: GridMap; enabled: bool; clipabove: bool = true; floor: int64 = 0'i64;
            axis: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clear(self: GridMap) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getUsedCells(self: GridMap): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getMeshes(self: GridMap): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBakeMeshes(self: GridMap): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBakeMeshInstance(self: GridMap; idx: int64): RID {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearBakedMeshes(self: GridMap) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc makeBakedMeshes(self: GridMap; genLightmapUv: bool = false;
                    lightmapUvTexelSize: float64 = 0.1) {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method updateOctantsCallback(self: GridMap) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}