Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
🌐 English | Русский
Thunder Engine documentation
Thunder Engine documentation

Thunder Engine

  • Getting Started
    • Quick Start
    • Thunder Hub
    • Sample Projects
    • Thunder Engine Features
  • Editor
    • Viewport
    • Properties
    • Content Browser
    • Hierarchy
    • Plugin Manager
    • Building Project
  • Rendering
    • Camera
    • Geometry
      • Mesh Resource
      • MeshRender
      • SkinnedMeshRender
    • Lighting
    • Visual Effects (VFX)
      • VFX Editor
      • Creating Custom Modules
    • Graphics Pipeline
  • Audio
    • AudioClip
    • AudioSource
  • Scripting
    • Overview
    • Creating and Using Scripts
    • Variables and Property Editor
    • Instantiating Prefabs
    • Native Introspection
  • API Reference
    • Animation Module
      • Animation
      • PropertyAnimation
      • VariantAnimation
    • Bullet Module
      • BoxCollider
      • CapsuleCollider
      • CharacterController
      • Collider
      • MeshCollider
      • PhysicMaterial
      • RigidBody
      • SphereCollider
      • VolumeCollider
    • Components Module
      • Actor
      • Animator
      • AreaLight
      • Armature
      • BaseLight
      • Camera
      • Component
      • DirectLight
      • EffectRender
      • FixedJoint
      • HingeJoint
      • Joint
      • MeshRender
      • NativeBehaviour
      • PlayerInput
      • PointLight
      • PostProcessVolume
      • Renderable
      • Scene
      • SkinnedMeshRender
      • SkinnedSpriteRender
      • Spline
      • SpotLight
      • SpringJoint
      • SpriteRender
      • TextRender
      • TileMapRender
      • Transform
      • World
    • Core Module
      • Bson
      • Event
      • Json
      • MetaEnum
      • MetaMethod
      • MetaObject
      • MetaProperty
      • MetaType
      • MethodCallEvent
      • Object
      • ObjectSystem
      • TString
      • ThreadPool
      • Url
      • Variant
    • Engine Module
      • CommandBuffer
      • Engine
      • Gizmos
      • Input
      • Log
      • Module
      • PipelineContext
      • PipelineTask
      • System
      • Timer
    • Gui Module
      • AbstractButton
      • AbstractSlider
      • Button
      • Canvas
      • CheckBox
      • FloatInput
      • Foldout
      • Frame
      • Image
      • Label
      • Layout
      • LineEdit
      • Menu
      • ProgressBar
      • RectTransform
      • ScrollBar
      • Slider
      • Splitter
      • StyleSheet
      • Switch
      • TabBar
      • TabWidget
      • ToolButton
      • UiDocument
      • UiLoader
      • Widget
    • Math Module
      • AABBox
      • Matrix3
      • Matrix4
      • OBBox
      • Plane
      • Quaternion
      • Ray
      • Vector2
      • Vector3
      • Vector4
    • Media Module
      • AudioClip
      • AudioSource
    • Navigation Module
      • NavMesh
      • NavMeshAgent
      • NavMeshLink
      • NavMeshObstacle
      • NavMeshSurface
    • Os Module
      • Backtrace
      • FileSystemWatcher
      • Process
      • ProcessEnvironment
      • Uuid
    • Resources Module
      • AnimationClip
      • AnimationStateMachine
      • AnimationTrack
      • Bone
      • ComputeBuffer
      • ComputeInstance
      • ComputeShader
      • ControlScheme
      • Font
      • Map
      • Material
      • MaterialInstance
      • Mesh
      • Pipeline
      • Pose
      • Prefab
      • RenderTarget
      • Resource
      • Sprite
      • Text
      • Texture
      • TileMap
      • TileSet
      • Translator
      • VisualEffect
    • NetworkAddress
    • WebRequest

Get Involved

  • Contribute Documentation
    • Documentation Writing Guide
    • Documentation Style Guide
    • Documentation Review Process
    • Building Thunder Engine from Source
  • Documentation Localization
Back to top
View this page

NavMeshLinkΒΆ

Inherited: Component

DescriptionΒΆ

A navigation link defines a traversable connection between startPoint() and endPoint(). The link can be restricted to a configured agent type and can allow traversal in one or both directions.

Links are useful for navigation routes that are not represented by the regular navigation mesh, such as jumps, doors, or teleport connections.

Public MethodsΒΆ

NavMeshLink ()

~NavMeshLink ()

int

agentType () const

int

areaType () const

Vector3

endPoint () const

bool

isBidirectional () const

void

setAgentType (int type)

void

setAreaType (int type)

void

setBidirectional (bool bidirectional)

void

setEndPoint (const Vector3 & point)

void

setStartPoint (const Vector3 & point)

Vector3

startPoint () const

Static MethodsΒΆ

None

Methods DescriptionΒΆ

NavMeshLink::NavMeshLink ()

Constructs a navigation link with default endpoints and agent settings.


NavMeshLink::~NavMeshLink ()

Destroys the navigation link.


int NavMeshLink::agentType () const

Returns the navigation mesh agent type allowed to use this link.

See also setAgentType().


int NavMeshLink::areaType () const

Returns the navigation area type assigned to this link.

See also setAreaType().


Vector3 NavMeshLink::endPoint () const

Returns the local-space end point of the link.

See also setEndPoint().


bool NavMeshLink::isBidirectional () const

Returns true when the link can be traversed in both directions.


void NavMeshLink::setAgentType (int type)

Sets the navigation mesh agent type allowed to use this link.

See also agentType().


void NavMeshLink::setAreaType (int type)

Sets the navigation area type assigned to this link.

See also areaType().


void NavMeshLink::setBidirectional (bool bidirectional)

Enables or disables traversal from endPoint() back to startPoint().

When bidirectional is false, the link can only be traversed from startPoint() to endPoint().

See also isBidirectional().


void NavMeshLink::setEndPoint (Vector3 & point)

Sets the local-space end point of the link.

See also endPoint().


void NavMeshLink::setStartPoint (Vector3 & point)

Sets the local-space start point of the link.

See also startPoint().


Vector3 NavMeshLink::startPoint () const

Returns the local-space start point of the link.

See also setStartPoint().

Next
NavMeshObstacle
Previous
NavMeshAgent
Copyright © 2026, Thunder Engine
Made with Sphinx and @pradyunsg's Furo
On this page
  • NavMeshLink
    • Description
    • Public Methods
    • Static Methods
    • Methods Description