Class LinearTrajectory
Inheritance
LinearTrajectory
Assembly: cs.temp.dll.dll
Syntax
public class LinearTrajectory
Constructors
LinearTrajectory(Int32)
Declaration
public LinearTrajectory(int TrajectoryPoints)
Parameters
Type |
Name |
Description |
Int32 |
TrajectoryPoints |
|
Properties
hasPoses
Declaration
public bool hasPoses { get; }
Property Value
poses
Declaration
public PoseStamped[] poses { get; }
Property Value
position
Declaration
public Vector2 position { get; }
Property Value
vector
Declaration
public Vector2 vector { get; }
Property Value
velocity
Declaration
public float velocity { get; }
Property Value
Methods
Add a point to the fixed size queue. Call this method on some regular interval for a path composed of points evenly spaced in time.
Declaration
public void Add(Transform transform)
Parameters
Type |
Name |
Description |
Transform |
transform |
|