OpenFairyGUI API
    Preparing search index...

    Interface UamImageResource

    interface UamImageResource {
        branch: string;
        branchItemIds: string[];
        dimensions?: UamDimensions;
        exported: boolean;
        favorite: boolean;
        fileName?: string;
        id: string;
        image: UamImageResourceProperties;
        kind: "image";
        name: string;
        path: string;
        sourceBytes?: Uint8Array<ArrayBufferLike>;
        sourcePath?: string;
    }

    Hierarchy

    • UamAssetResourceBase
      • UamImageResource
    Index
    branch: string
    branchItemIds: string[]
    dimensions?: UamDimensions
    exported: boolean
    favorite: boolean
    fileName?: string
    id: string
    kind: "image"
    name: string
    path: string
    sourceBytes?: Uint8Array<ArrayBufferLike>

    Primary source-file bytes loaded by an explicit reader hydration request. The value is copied at UAM boundaries and is never JSON serialized.

    sourcePath?: string

    Package-relative location of hydrated source bytes. It is updated to the current resource location after a successful project write.