32 lines
614 B
Markdown
32 lines
614 B
Markdown
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
|
|
|
|
# EnableTerrainCommand
|
|
|
|
**Extends:** [ESCBaseCommand](../ESCBaseCommand) < [Node](../Node)
|
|
|
|
## Description
|
|
|
|
`enable_terrain node_name`
|
|
|
|
Enable the ESCTerrain's NavigationPolygonInstance defined by given node name.
|
|
Disables previously activated NavigationPolygonInstance.
|
|
|
|
@ESC
|
|
|
|
## Method Descriptions
|
|
|
|
### configure
|
|
|
|
```gdscript
|
|
func configure() -> ESCCommandArgumentDescriptor
|
|
```
|
|
|
|
Return the descriptor of the arguments of this command
|
|
|
|
### run
|
|
|
|
```gdscript
|
|
func run(command_params: Array) -> int
|
|
```
|
|
|
|
Run the command |