Documentation - v19.16.0-dev
    Preparing search index...

    Validates navigation graph nodes and edges against the 3D scene: a node is valid when it lies close enough to a surface, and an edge is valid when the segment between its two nodes isn't blocked by scene geometry.

    Index

    Constructors

    Methods

    • Parameters

      • point: Vector3
      • maxDistance: number

      Returns Vector3 | null

    • Sets the scene-object types that do not block navigation graph edges.

      Parameters

      • types: readonly string[]

      Returns void

    • Builds an obstacle-free segment whose XZ trajectory is straight while its height follows the scene surface. Returns null when a sample cannot be projected or traversed.

      Parameters

      • from: Vector3
      • to: Vector3

      Returns Vector3[] | null

    • Recomputes node and edge geometry validity against the current 3D scene.

      Parameters

      Returns void

    • Parameters

      • point: Vector3

      Returns boolean

    • Validates a temporary or permanent navigation segment against scene obstacles.

      Parameters

      • from: Vector3
      • to: Vector3

      Returns boolean