sampleDollyPath
@zylem/game-lib / cinematics / sampleDollyPath
Function: sampleDollyPath()
sampleDollyPath(
path,segments?):object[]
Defined in: packages/game-lib/src/lib/cinematics/cutscene-math.ts:124
Evenly spaced samples of a dolly path, for drawing it.
Parameters
path
closed
boolean = ...
id
string = ...
name
string = ...
points
object[] = ...
tension
number = ...
Catmull-Rom tension; 0.5 is centripetal.
segments?
number = 32
Returns
object[]