UNPKG

@typed-tabletop-simulator/lib

Version:
24 lines (23 loc) 874 B
/** @noSelfInFile */ import { BaseProperties } from "./baseObject"; type BagType = ModelType.Bag | ModelType.Infinite; export type AssetBundleProperties = AssetBundleBaseProperties | AssetBundleBagProperties; interface AssetBundleBaseProperties extends BaseProperties, SharedProperties { type: Exclude<ModelType, BagType>; } interface AssetBundleBagProperties extends BaseProperties, SharedProperties { type: BagType; content: ObjectData[]; } interface SharedProperties { /** URL to the primary asset bundle. */ bundle: string; /** URL to the secondary asset bundle. */ secondaryBundle?: string; /** The type of material. */ material?: MaterialType; /** The index of the current looping index. */ loopingEffect?: number; } export declare const createAssetBundle: (properties: AssetBundleProperties) => AssetBundleData; export {};