A* Pathfinding Project  4.1.14
The A* Pathfinding Project for Unity 3D
AdvancedSmooth.Turn Struct Reference

Represents a turn in a path. More...

Detailed Description

Represents a turn in a path.

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here

Public Member Functions

 Turn (float length, TurnConstructor constructor, int id=0)
 
int CompareTo (Turn t)
 
void GetPath (List< Vector3 > output)
 

Static Public Member Functions

static bool operator< (Turn lhs, Turn rhs)
 
static bool operator> (Turn lhs, Turn rhs)
 

Public Attributes

TurnConstructor constructor
 
int id
 
float length
 

Properties

float score [get]
 

Constructor & Destructor Documentation

◆ Turn()

Turn ( float  length,
TurnConstructor  constructor,
int  id = 0 
)

Member Function Documentation

◆ CompareTo()

int CompareTo ( Turn  t)

◆ GetPath()

void GetPath ( List< Vector3 >  output)

◆ operator<()

static bool operator< ( Turn  lhs,
Turn  rhs 
)
static

◆ operator>()

static bool operator> ( Turn  lhs,
Turn  rhs 
)
static

Member Data Documentation

◆ constructor

TurnConstructor constructor

◆ id

int id

◆ length

float length

Property Documentation

◆ score

float score
get

The documentation for this struct was generated from the following file: