s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
NavMesh
GenerateTile
chevron_left
Classes
class
NavMesh
search
Properties
data_object
AgentHeight
data_object
AgentMaxSlope
data_object
AgentRadius
data_object
AgentStepSize
data_object
Bounds
data_object
CustomBounds
data_object
DeferGeneration
data_object
DrawMesh
data_object
EditorAutoUpdate
data_object
ExcludedBodies
data_object
IncludedBodies
data_object
IncludeKeyframedBodies
data_object
IncludeStaticBodies
data_object
IsDirty
data_object
IsEnabled
data_object
IsGenerating
Methods
functions
CalculatePath
functions
Dispose
functions
Generate
functions
GenerateTile
functions
GenerateTiles
functions
GetClosestEdge
functions
GetClosestPoint
functions
GetRandomPoint
remove_circle
GetSimplePath
functions
RequestTileGeneration
functions
RequestTilesGeneration
functions
SetDirty
functions
UnloadTile
functions
UnloadTiles
Static Methods
functions
BakeNavMesh
GenerateTile
Generates or regenerates the navmesh tile at the given world position. This function is thread safe but can only be called from the main thread.
method
Task
GenerateTile
(
PhysicsWorld
world
,
Vector3
worldPosition
)
Remarks
While most of the generation happens in parallel, this function also requires some time on the main thread. If you need to update many tiles, consider spreading the updates accross multiple frames.
Parameters
Name
Type
Description
world
PhysicsWorld
worldPosition
Vector3
Returns
Type
Description
Task
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.