Skip to content

NavigationPathQueryResult

eduardgushchin edited this page Oct 22, 2026 · 1 revision

Home | API by Category | Complete API Index | API Status

Field Value
Full name Electron2D.NavigationPathQueryResult
Namespace Electron2D
Kind class
Category API Navigation

Overview

Stores one atomically published typed path and its optional parallel point metadata.

Syntax

public sealed class Electron2D.NavigationPathQueryResult

Remarks

Caller-owned reusable result. Public arrays are copied both ways; setters remain independent source fields. A successful query publishes all selected arrays/length together, before its optional callback. Reset clears arrays and length. Agent-borrowed instances reject consumer disposal while the owning agent is alive.

Inherits: ElectronObject

Detailed engine reference

Members

Member Kind Summary
public NavigationPathQueryResult() constructor Creates an empty result with zero path length.
protected override System.Void Dispose(System.Boolean disposing) method
protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors() method
public System.Void Reset() method Resets all arrays and length to their initial values.
protected override System.Void ValidateDisposal() method
public Electron2D.Vector2[] Path { get; set; } property Gets or replaces a copied array of finite world-space path positions.
public System.Single PathLength { get; set; } property Gets or replaces the independently stored world-space path length.
public System.UInt64[] PathOwnerIDs { get; set; } property Gets or replaces a copied array of logical instance identities associated with path point owners.
public Electron2D.RID[] PathRIDs { get; set; } property Gets or replaces a copied array of region/link RID owners of path points.
public Electron2D.NavigationPathQueryResult.PathSegmentType[] PathTypes { get; set; } property Gets or replaces a copied array of typed region/link owners of path points.

Member Details

NavigationPathQueryResult()

Kind: constructor

public NavigationPathQueryResult()

Summary

Creates an empty result with zero path length.

Dispose(System.Boolean)

Kind: method

protected override System.Void Dispose(System.Boolean disposing)

GetPropertyDescriptors()

Kind: method

protected override System.Collections.Generic.IEnumerable<Electron2D.PropertyDescriptor> GetPropertyDescriptors()

Reset()

Kind: method

public System.Void Reset()

Summary

Resets all arrays and length to their initial values.

Exceptions

  • T:System.ObjectDisposedException: This result is disposed.

ValidateDisposal()

Kind: method

protected override System.Void ValidateDisposal()

Path

Kind: property

public Electron2D.Vector2[] Path { get; set; }

Summary

Gets or replaces a copied array of finite world-space path positions.

Value

Empty initially; metadata arrays are empty when their query flags are disabled. Setters are independent.

Exceptions

  • T:System.ArgumentNullException: Assigned array is null.
  • T:System.ObjectDisposedException: This result is disposed.
  • T:System.ArgumentOutOfRangeException: Positions are nonfinite or point types are unsupported.

PathLength

Kind: property

public System.Single PathLength { get; set; }

Summary

Gets or replaces the independently stored world-space path length.

Value

Zero initially and after reset; queries compute it after simplification and clipping.

Exceptions

  • T:System.ArgumentOutOfRangeException: Value is nonfinite or negative.
  • T:System.ObjectDisposedException: This result is disposed.

PathOwnerIDs

Kind: property

public System.UInt64[] PathOwnerIDs { get; set; }

Summary

Gets or replaces a copied array of logical instance identities associated with path point owners.

Value

Empty initially; metadata arrays are empty when their query flags are disabled. Setters are independent.

Exceptions

  • T:System.ArgumentNullException: Assigned array is null.
  • T:System.ObjectDisposedException: This result is disposed.

PathRIDs

Kind: property

public Electron2D.RID[] PathRIDs { get; set; }

Summary

Gets or replaces a copied array of region/link RID owners of path points.

Value

Empty initially; metadata arrays are empty when their query flags are disabled. Setters are independent.

Exceptions

  • T:System.ArgumentNullException: Assigned array is null.
  • T:System.ObjectDisposedException: This result is disposed.

PathTypes

Kind: property

public Electron2D.NavigationPathQueryResult.PathSegmentType[] PathTypes { get; set; }

Summary

Gets or replaces a copied array of typed region/link owners of path points.

Value

Empty initially; metadata arrays are empty when their query flags are disabled. Setters are independent.

Exceptions

  • T:System.ArgumentNullException: Assigned array is null.
  • T:System.ObjectDisposedException: This result is disposed.
  • T:System.ArgumentOutOfRangeException: Positions are nonfinite or point types are unsupported.

Clone this wiki locally