You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {number} duration - The duration of the path follow.
8
-
* @property {number} from - The start position of the path follow, between 0 and 1.
9
-
* @property {number} to - The end position of the path follow, between 0 and 1.
7
+
* @property {number} duration - The duration of the path follow in ms. Must be `> 0`.
8
+
* @property {number} [from=0] - The start position of the path follow, between 0 and 1. Must be less than `to`.
9
+
* @property {number} [to=1] - The end position of the path follow, between 0 and 1. Must be more than `from`.
10
10
* @property {boolean} [positionOnPath=false] - Whether to position the PathFollower on the Path using its path offset.
11
11
* @property {boolean} [rotateToPath=false] - Should the PathFollower automatically rotate to point in the direction of the Path?
12
12
* @property {number} [rotationOffset=0] - If the PathFollower is rotating to match the Path, this value is added to the rotation value. This allows you to rotate objects to a path but control the angle of the rotation as well.
13
-
* @property {number} [startAt=0] - Current start position of the path follow, between 0 and 1.
13
+
* @property {number} [startAt=0] - Current start position of the path follow, must be between `from` and `to`.
0 commit comments