Skip to content

ds_grid_rect

Kamran Wali edited this page Dec 13, 2024 · 4 revisions

Inherits: DS_BaseGrid

This class creates a rectangular or cuboid grid.

Description

The ds_grid_rect creates a rectangular or cuboid grid worlds.

Properties

Type Name Default Value
int _custom_coord_x 0
int _custom_coord_y 0
int _custom_coord_z 0
String _debug_print ""
bool _is_first_element false
bool _has_element false

Property Descriptions

int _custom_coord_x = 0

The custom and starting co-ordiante for x axis. By default it starts from the 0th point.


int _custom_coord_y = 0

Ths custom and starting co-ordinate for y axis. By default it starts from the 0th point.


int _custom_coord_z = 0

Ths custom and starting co-ordinate for z axis. By default it starts from the 0th point.

Note: The z-axis does NOT work for now as height has NOT been implemented yet in the current plugin.


String _debug_print = ""

This property stores and returns the debug information.


bool _is_first_element = false

This property checks for the first element in the grid.


bool _has_element = false

This property is used to check if the tile contains an element.