Method Lerp
Lerp(in Pose, in Pose, float)
Interpolate between two Poses. Position is linearly interpolated and rotation is spherically interpolated.
Declaration
public static Pose Lerp(in Pose a, in Pose b, float step)
Parameters
| Type | Name | Description |
|---|---|---|
| Pose | a | Initial Pose |
| Pose | b | Final Pose |
| float | step | Step size between [0, 1] |
Returns
| Type | Description |
|---|---|
| Pose | Interpolated Pose. |