ecspresso
    Preparing search index...

    Interface IsoDepthSortPluginOptions<G>

    Common configuration options shared by most plugins. Plugin-specific options interfaces extend this with additional fields.

    interface IsoDepthSortPluginOptions<G extends string = "isometric"> {
        depthFn?: (worldX: number, worldY: number) => number;
        phase?: SystemPhase;
        priority?: number;
        systemGroup?: G;
    }

    Type Parameters

    • G extends string = "isometric"

    Hierarchy (View Summary)

    Index

    Properties

    depthFn?: (worldX: number, worldY: number) => number

    Custom depth function. Receives world-space x/y, returns a sort key. Default: (x, y) => x + y

    phase?: SystemPhase

    Execution phase for the plugin's primary system

    priority?: number

    Priority for the plugin's primary system (default varies per plugin)

    systemGroup?: G

    System group name for all systems registered by this plugin