set Linear Heading Interpolation
This sets a linear heading interpolation on the last Path added to the PathBuilder.
Return
This returns itself with the updated data.
Parameters
start Heading
The start of the linear heading interpolation.
end Heading
The end of the linear heading interpolation. This will be reached at the end of the Path if no end time is specified.
public PathBuilder setLinearHeadingInterpolation(double startHeading, double endHeading, double endTime)
This sets a linear heading interpolation on the last Path added to the PathBuilder.
Return
This returns itself with the updated data.
Parameters
start Heading
The start of the linear heading interpolation.
end Heading
The end of the linear heading interpolation. This will be reached at the end of the Path if no end time is specified.
end Time
The end time on the Path that the linear heading interpolation will end. This value goes from [0, 1] since Bezier curves are parametric functions.