Documentation
    Preparing search index...

    Interface ParametricTrajectoryOptions

    Options for ParametricTrajectory.

    interface ParametricTrajectoryOptions {
        duration: number;
        position: (time: number, out: Vector3) => Vector3;
    }
    Index
    duration: number

    Natural extent of the path in seconds; must be finite and positive.

    position: (time: number, out: Vector3) => Vector3

    Position at time seconds, written into out and returned. Must be pure — the same time must always produce the same point (§33) — and must not capture a wall clock.