FREE TRIAL

|

☀
☾
struct

NavNode

Defines a NavLink for each axis-aligned direction.

Fields

Back

The NavLink to use when navigating backward from this NavNode.

Down

The NavLink to use when navigating downward from this NavNode.

Forward

The NavLink to use when navigating forward from this NavNode.

Left

The NavLink to use when navigating to the left of this NavNode.

Right

The NavLink to use when navigating to the right of this NavNode.

Up

The NavLink to use when navigating upward from this NavNode.

Static Fields

TwoD

A NavNode where all X/Y NavLinks are set to Auto and Z NavLinks are set to Empty.

Methods

GetLink

Converts the provided direction into the nearest axis-aligned direction (e.g. Left, Down, Forward, etc.) and returns the NavLink corresponding to that axis-aligned direction.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC