getMatrix

fun getMatrix(distance: Float, getPosition: Boolean, getTangent: Boolean): Matrix33?

Pins distance to 0 <= distance <= getLength(), and then computes the corresponding matrix (by calling getPosition/getTangent).

Return

null if there is no path, or a zero-length path was specified.