• Helper for warning developers about deprecated features & settings. A stack track for warnings is given; useful for tracking-down where deprecated methods/properties/classes are being used within the code.

    Parameters

    • version: string

      The version where the feature became deprecated

    • message: string

      Message should include what is deprecated, where, and the new solution

    • Optional ignoreDepth: number

      The number of steps to ignore at the top of the error stack this is mostly to ignore internal deprecation calls.

    Returns void

    Memberof

    PIXI.utils

    Function

    deprecation

Generated using TypeDoc