|
116 | 116 | Returns an array of all cells with the given item index specified in [param item].
|
117 | 117 | </description>
|
118 | 118 | </method>
|
| 119 | + <method name="get_used_cells_in_octant" qualifiers="const"> |
| 120 | + <return type="Vector3i[]" /> |
| 121 | + <param index="0" name="octant_coords" type="Vector3i" /> |
| 122 | + <description> |
| 123 | + Returns an array of [Vector3i] with the non-empty cell coordinates inside the octant at [param octant_coords]. |
| 124 | + </description> |
| 125 | + </method> |
| 126 | + <method name="get_used_cells_in_octant_by_item" qualifiers="const"> |
| 127 | + <return type="Vector3i[]" /> |
| 128 | + <param index="0" name="octant_coords" type="Vector3i" /> |
| 129 | + <param index="1" name="item" type="int" /> |
| 130 | + <description> |
| 131 | + Returns an array of [Vector3i] with the non-empty cell coordinates inside the octant at [param octant_coords]. that use the specified cell [param item]. |
| 132 | + </description> |
| 133 | + </method> |
| 134 | + <method name="get_used_octants" qualifiers="const"> |
| 135 | + <return type="Vector3i[]" /> |
| 136 | + <description> |
| 137 | + Returns an array of [Vector3i] with the non-empty octant coordinates in the grid map. |
| 138 | + </description> |
| 139 | + </method> |
| 140 | + <method name="get_used_octants_by_item" qualifiers="const"> |
| 141 | + <return type="Vector3i[]" /> |
| 142 | + <param index="0" name="item" type="int" /> |
| 143 | + <description> |
| 144 | + Returns an array of [Vector3i] with the non-empty octant coordinates that use the specified [param item] in the grid map. |
| 145 | + </description> |
| 146 | + </method> |
119 | 147 | <method name="local_to_map" qualifiers="const">
|
120 | 148 | <return type="Vector3i" />
|
121 | 149 | <param index="0" name="local_position" type="Vector3" />
|
|
214 | 242 | <member name="collision_priority" type="float" setter="set_collision_priority" getter="get_collision_priority" default="1.0">
|
215 | 243 | The priority used to solve colliding when occurring penetration. The higher the priority is, the lower the penetration into the object will be. This can for example be used to prevent the player from breaking through the boundaries of a level.
|
216 | 244 | </member>
|
| 245 | + <member name="debug_custom_color_octants" type="Color" setter="debug_set_custom_color_octants" getter="debug_get_custom_color_octants" default="Color(1, 1, 1, 1)"> |
| 246 | + The custom [Color] used for rendering octant debug visuals when [member debug_use_custom] is enabled. |
| 247 | + </member> |
| 248 | + <member name="debug_enabled" type="bool" setter="debug_set_enabled" getter="debug_get_enabled" default="false"> |
| 249 | + If [code]true[/code] shows debug visuals for this node. |
| 250 | + </member> |
| 251 | + <member name="debug_show_cells" type="bool" setter="debug_set_render_cells" getter="debug_get_render_cells" default="false"> |
| 252 | + If [code]true[/code] and [member debug_enabled] is enabled, shows debug visuals for cells. |
| 253 | + </member> |
| 254 | + <member name="debug_show_octants" type="bool" setter="debug_set_render_octants" getter="debug_get_render_octants" default="false"> |
| 255 | + If [code]true[/code] and [member debug_enabled] is enabled, shows debug visuals for octants. |
| 256 | + </member> |
| 257 | + <member name="debug_use_custom" type="bool" setter="debug_set_use_custom" getter="debug_get_use_custom" default="false"> |
| 258 | + If [code]true[/code], the debug related custom options for this node override the default debug options. |
| 259 | + </member> |
217 | 260 | <member name="mesh_library" type="MeshLibrary" setter="set_mesh_library" getter="get_mesh_library">
|
218 | 261 | The assigned [MeshLibrary].
|
219 | 262 | </member>
|
|
0 commit comments