pixi-viewport
    Preparing search index...

    Interface IDecelerateOptions

    interface IDecelerateOptions {
        bounce?: number;
        friction?: number;
        minSpeed?: number;
    }
    Index
    bounce?: number

    Percent to decelerate when past boundaries (only applicable when viewport.bounce() is active)

    0.8
    
    friction?: number

    Percent to decelerate after movement. This should be between 0 and 1, exclusive.

    0.95
    
    minSpeed?: number

    Minimum velocity before stopping/reversing acceleration

    0.01