Struct NavigationPath
Syntax
[Data("Navigation Path", DataFlags.None)]
public struct NavigationPath : IDisposable, IDebugObject, IDebugDrawable, Serializable
Fields
outputTrajectory
Declaration
[Output("Trajectory", OutputFlags.OnlyAcceptSelfNode)]
public DebugIdentifier outputTrajectory
Field Value
Properties
debugIdentifier
Declaration
public DebugIdentifier debugIdentifier { get; set; }
Property Value
Implements
GoalReached
Declaration
public bool GoalReached { get; }
Property Value
IsBuilt
Declaration
public bool IsBuilt { get; }
Property Value
IsValid
Declaration
public bool IsValid { get; }
Property Value
NavParams
Declaration
public NavigationParams NavParams { get; }
Property Value
NextControlPoint
Declaration
public int NextControlPoint { get; }
Property Value
NumControlPoints
Declaration
public int NumControlPoints { get; }
Property Value
Methods
Build()
Declaration
Declaration
public static NavigationPath Create(float3[] controlPoints, AffineTransform startTransform, NavigationParams navParams, Allocator allocator)
Parameters
Returns
CreateInvalid()
Declaration
public static NavigationPath CreateInvalid()
Returns
Dispose()
Declaration
Draw(Camera, ref MotionSynthesizer, DebugMemory, SamplingTime, ref DebugDrawOptions)
Declaration
public void Draw(Camera camera, ref MotionSynthesizer synthesizer, DebugMemory debugMemory, SamplingTime debugSamplingTime, ref DebugDrawOptions options)
Parameters
Implements
DrawPath()
Declaration
EvaluatePointAtDistance(Single)
Declaration
public SplinePoint EvaluatePointAtDistance(float distance)
Parameters
| Type |
Name |
Description |
| Single |
distance |
|
Returns
GenerateTrajectory(ref MotionSynthesizer, ref Trajectory)
Declaration
public void GenerateTrajectory(ref MotionSynthesizer synthesizer, ref Trajectory trajectory)
Parameters
ReadFromStream(Buffer)
Declaration
public void ReadFromStream(Buffer buffer)
Parameters
| Type |
Name |
Description |
| Buffer |
buffer |
|
Implements
Declaration
public bool UpdateAgentTransform(AffineTransform agentTransform)
Parameters
Returns
WriteToStream(Buffer)
Declaration
public void WriteToStream(Buffer buffer)
Parameters
| Type |
Name |
Description |
| Buffer |
buffer |
|
Implements