Empeld
Empeld plugin documentation.
|
A rail that can be followed, where position between two points is interpolated linearly More...
Public Member Functions | |
LinearRail (IEnumerable< Vector3d > path) | |
LinearRail (Path path, Vector3d offset) | |
LinearRail (Path path) | |
Public Member Functions inherited from essentials.action.Pathing.Rails.AbstractRail | |
AbstractRail (IEnumerable< Vector3d > path) | |
void | Advance (double dst) |
Protected Member Functions | |
override Vector3d | GetPosition (double t) |
Additional Inherited Members | |
Protected Attributes inherited from essentials.action.Pathing.Rails.AbstractRail | |
readonly Vector3d [] | Rail |
Properties inherited from essentials.action.Pathing.Rails.AbstractRail | |
Vector3d | Position [get] |
Vector3d | LookDirection [get] |
double | Time [get, set] |
double | TimeLength [get] |
bool | Done [get] |
Properties inherited from essentials.action.Pathing.IPathRail | |
double | Time [get, set] |
double | TimeLength [get] |
Vector3d | Position [get] |
Vector3d | LookDirection [get] |
bool | Done [get] |
A rail that can be followed, where position between two points is interpolated linearly
essentials.action.Pathing.Rails.LinearRail.LinearRail | ( | IEnumerable< Vector3d > | path | ) |
essentials.action.Pathing.Rails.LinearRail.LinearRail | ( | Path | path, |
Vector3d | offset | ||
) |
essentials.action.Pathing.Rails.LinearRail.LinearRail | ( | Path | path | ) |
|
protectedvirtual |
Attribute: idx] * (1.0 - f) + this.Rail[nextIdx
* f;
Implements essentials.action.Pathing.Rails.AbstractRail.