OpenFairyGUI API
    Preparing search index...

    Interface UamGenericAssetResource

    interface UamGenericAssetResource {
        branch: string;
        branchItemIds: string[];
        dimensions?: UamDimensions;
        exported: boolean;
        favorite: boolean;
        file?: string;
        fileName?: string;
        id: string;
        kind: "movieClip" | "sound" | "misc" | "font" | "spine" | "dragonBones";
        metadata?: Record<string, unknown>;
        name: string;
        path: string;
        sourceBytes?: Uint8Array<ArrayBufferLike>;
        sourcePath?: string;
    }

    Hierarchy

    • UamAssetResourceBase
      • UamGenericAssetResource
    Index
    branch: string
    branchItemIds: string[]
    dimensions?: UamDimensions
    exported: boolean
    favorite: boolean
    file?: string
    fileName?: string
    id: string
    kind: "movieClip" | "sound" | "misc" | "font" | "spine" | "dragonBones"
    metadata?: Record<string, unknown>
    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.