Engine API Reference - v2.21.0-beta.6
    Preparing search index...

    Interface ParserContext

    interface ParserContext {
        app: AppBase;
        asset: Asset | undefined;
        basename: string;
        ext: string;
        url: string | null;
    }
    Index

    Properties

    Properties

    app: AppBase

    The running AppBase.

    asset: Asset | undefined

    The asset being loaded, if any.

    basename: string

    The lower-cased file name (for example 'lod-meta.json'), or an empty string.

    ext: string

    The lower-cased file extension without a leading dot (for example 'json'), or an empty string if there is none.

    url: string | null

    The original resource URL with any query string removed, or null.