Logo
  • Overview
  • Getting Started
  • Class Reference
  • Godot Class Reference
    • All classes
    • Globals
    • Nodes
      • Node
      • AcceptDialog
      • AnimatableBody2D
      • AnimatableBody3D
      • AnimatedSprite2D
      • AnimatedSprite3D
      • AnimationMixer
      • AnimationPlayer
      • AnimationTree
      • Area2D
      • Area3D
      • AspectRatioContainer
      • AudioListener2D
      • AudioListener3D
      • AudioStreamPlayer
      • AudioStreamPlayer2D
      • AudioStreamPlayer3D
      • BackBufferCopy
      • BaseButton
      • Bone2D
      • BoneAttachment3D
      • BoxContainer
      • Button
      • Camera2D
      • Camera3D
      • CanvasGroup
      • CanvasItem
      • CanvasLayer
      • CanvasModulate
      • CenterContainer
      • CharacterBody2D
      • CharacterBody3D
      • ChatConsole
      • CheckBox
      • CheckButton
      • ClientKeys
      • CodeEdit
      • CollisionObject2D
      • CollisionObject3D
      • CollisionPolygon2D
      • CollisionPolygon3D
      • CollisionShape2D
      • CollisionShape3D
      • ColorPicker
      • ColorPickerButton
      • ColorRect
      • ConeTwistJoint3D
      • ConfirmationDialog
      • Container
      • Control
      • CPUParticles2D
      • CPUParticles3D
      • CSGBox3D
      • CSGCombiner3D
      • CSGCylinder3D
      • CSGMesh3D
      • CSGPolygon3D
      • CSGPrimitive3D
      • CSGShape3D
      • CSGSphere3D
      • CSGTorus3D
      • DampedSpringJoint2D
      • Decal
      • DeviceAuthUI
      • DirectionalLight2D
      • DirectionalLight3D
      • EditorCommandPalette
      • EditorFileDialog
      • EditorFileSystem
      • EditorInspector
      • EditorPlugin
      • EditorProperty
      • EditorResourcePicker
      • EditorResourcePreview
      • EditorScriptPicker
      • EditorSpinSlider
      • FileDialog
      • FileSystemDock
      • FlowContainer
      • FogVolume
      • Generic6DOFJoint3D
      • GeometryInstance3D
      • GPUParticles2D
      • GPUParticles3D
      • GPUParticlesAttractor3D
      • GPUParticlesAttractorBox3D
      • GPUParticlesAttractorSphere3D
      • GPUParticlesAttractorVectorField3D
      • GPUParticlesCollision3D
      • GPUParticlesCollisionBox3D
      • GPUParticlesCollisionHeightField3D
      • GPUParticlesCollisionSDF3D
      • GPUParticlesCollisionSphere3D
      • GraphEdit
      • GraphElement
      • GraphFrame
      • GraphNode
      • GridContainer
      • GridMap
      • GrooveJoint2D
      • HBoxContainer
      • HFlowContainer
      • HingeJoint3D
      • HScrollBar
      • HSeparator
      • HSlider
      • HSplitContainer
      • HTTPRequest
      • ImporterMeshInstance3D
      • InstancePlaceholder
      • ItemList
      • Joint2D
      • Joint3D
      • Label
      • Label3D
      • Light2D
      • Light3D
      • LightmapGI
      • LightmapProbe
      • LightOccluder2D
      • Line2D
      • LineEdit
      • LinkButton
      • MarginContainer
      • Marker2D
      • Marker3D
      • MenuBar
      • MenuButton
      • MeshInstance2D
      • MeshInstance3D
      • MessagePanel
      • MissingNode
      • MultiMeshInstance2D
      • MultiMeshInstance3D
      • MultiplayerSpawner
      • MultiplayerSynchronizer
      • NavigationAgent2D
      • NavigationAgent3D
      • NavigationLink2D
      • NavigationLink3D
      • NavigationObstacle2D
      • NavigationObstacle3D
      • NavigationRegion2D
        • Properties
        • Methods
        • Signals
        • Property Descriptions
        • Method Descriptions
      • NavigationRegion3D
      • NinePatchRect
      • Node2D
      • Node3D
      • OccluderInstance3D
      • OmniLight3D
      • OpenXRCompositionLayer
      • OpenXRCompositionLayerCylinder
      • OpenXRCompositionLayerEquirect
      • OpenXRCompositionLayerQuad
      • OpenXRHand
      • OptionButton
      • Panel
      • PanelContainer
      • Parallax2D
      • ParallaxBackground
      • ParallaxLayer
      • Path2D
      • Path3D
      • PathFollow2D
      • PathFollow3D
      • PhysicalBone2D
      • PhysicalBone3D
      • PhysicalBoneSimulator3D
      • PhysicsBody2D
      • PhysicsBody3D
      • PinJoint2D
      • PinJoint3D
      • PointLight2D
      • Polygon2D
      • Popup
      • PopupMenu
      • PopupPanel
      • ProgressBar
      • Range
      • RayCast2D
      • RayCast3D
      • ReferenceRect
      • ReflectionProbe
      • RemoteTransform2D
      • RemoteTransform3D
      • ResourcePreloader
      • RichTextLabel
      • RigidBody2D
      • RigidBody3D
      • RootMotionView
      • ScopeLocker
      • ScriptCreateDialog
      • ScriptEditor
      • ScriptEditorBase
      • ScrollBar
      • ScrollContainer
      • Separator
      • ShaderGlobalsOverride
      • ShapeCast2D
      • ShapeCast3D
      • Skeleton2D
      • Skeleton3D
      • SkeletonIK3D
      • SkeletonModifier3D
      • Slider
      • SliderJoint3D
      • SoftBody3D
      • SpinBox
      • SplitContainer
      • SpotLight3D
      • SpringArm3D
      • Sprite2D
      • Sprite3D
      • SpriteBase3D
      • StaticBody2D
      • StaticBody3D
      • StatusIndicator
      • SubViewport
      • SubViewportContainer
      • TabBar
      • TabContainer
      • TextEdit
      • TextureButton
      • TextureProgressBar
      • TextureRect
      • TileMap
      • TileMapLayer
      • Timer
      • TouchScreenButton
      • Tree
      • VBoxContainer
      • VehicleBody3D
      • VehicleWheel3D
      • VFlowContainer
      • VideoStreamPlayer
      • Viewport
      • VisibleOnScreenEnabler2D
      • VisibleOnScreenEnabler3D
      • VisibleOnScreenNotifier2D
      • VisibleOnScreenNotifier3D
      • VisualInstance3D
      • VoxelGI
      • VScrollBar
      • VSeparator
      • VSlider
      • VSplitContainer
      • Window
      • WorldEnvironment
      • XRAnchor3D
      • XRBodyModifier3D
      • XRCamera3D
      • XRController3D
      • XRFaceModifier3D
      • XRHandModifier3D
      • XRNode3D
      • XROrigin3D
    • Resources
    • Other objects
    • Editor-only
    • Variant types
  • Contact
Jam Launch
  • Godot Class Reference
  • All classes
  • NavigationRegion2D
  • View page source

NavigationRegion2D

Inherits: Node2D < CanvasItem < Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

enabled

true

float

enter_cost

0.0

int

navigation_layers

1

NavigationPolygon

navigation_polygon

float

travel_cost

1.0

bool

use_edge_connections

true

Methods

void

bake_navigation_polygon ( bool on_thread=true )

bool

get_navigation_layer_value ( int layer_number ) const

RID

get_navigation_map ( ) const

RID

get_region_rid ( ) const

RID

get_rid ( ) const

bool

is_baking ( ) const

void

set_navigation_layer_value ( int layer_number, bool value )

void

set_navigation_map ( RID navigation_map )


Signals

bake_finished ( )

There is currently no description for this signal. Please help us by contributing one!


navigation_polygon_changed ( )

There is currently no description for this signal. Please help us by contributing one!


Property Descriptions

bool enabled = true

  • void set_enabled ( bool value )

  • bool is_enabled ( )

There is currently no description for this property. Please help us by contributing one!


float enter_cost = 0.0

  • void set_enter_cost ( float value )

  • float get_enter_cost ( )

There is currently no description for this property. Please help us by contributing one!


int navigation_layers = 1

  • void set_navigation_layers ( int value )

  • int get_navigation_layers ( )

There is currently no description for this property. Please help us by contributing one!


NavigationPolygon navigation_polygon

  • void set_navigation_polygon ( NavigationPolygon value )

  • NavigationPolygon get_navigation_polygon ( )

There is currently no description for this property. Please help us by contributing one!


float travel_cost = 1.0

  • void set_travel_cost ( float value )

  • float get_travel_cost ( )

There is currently no description for this property. Please help us by contributing one!


bool use_edge_connections = true

  • void set_use_edge_connections ( bool value )

  • bool get_use_edge_connections ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void bake_navigation_polygon ( bool on_thread=true )

There is currently no description for this method. Please help us by contributing one!


bool get_navigation_layer_value ( int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


RID get_navigation_map ( ) const

There is currently no description for this method. Please help us by contributing one!


RID get_region_rid ( ) const

There is currently no description for this method. Please help us by contributing one!


RID get_rid ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_baking ( ) const

There is currently no description for this method. Please help us by contributing one!


void set_navigation_layer_value ( int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!


void set_navigation_map ( RID navigation_map )

There is currently no description for this method. Please help us by contributing one!

Previous Next

© Copyright 2024, The Jam Launch Syndicate.

Built with Sphinx using a theme provided by Read the Docs.