import { Node } from "@babylonjs/core/node"; import { Skeleton } from "@babylonjs/core/Bones/skeleton"; import { InstantiatedEntries } from "@babylonjs/core/assetContainer"; import { AnimationGroup } from "@babylonjs/core/Animations/animationGroup"; export declare class AdvancedAssetContainerInstantiatedEntries implements InstantiatedEntries { readonly entries: InstantiatedEntries; readonly namingId: string; constructor(entries: InstantiatedEntries, namingId: string); /** * Returns the list of root nodes of the instantiated container. */ get rootNodes(): Node[]; /** * Returns the list of all nodes of the instantiated container. */ get skeletons(): Skeleton[]; /** * Returns the list of all animation groups of the instantiated container. */ get animationGroups(): AnimationGroup[]; /** * Disposes all the instantiated entries (meshes, skeletons, animation groups) */ dispose(): void; /** * Retrieve the reference to a root node of the instantiated container by its name. * @param name defines the name of the root node to retrieve. * @returns the reference to the root node of the instantiated container which matches the given name, or null if not found. */ getRootNodeByName(name: string): Node | null; /** * Retrieve the reference to a node present in the instantiated container by its name recursively. * @param name defines the name of the node to retrieve. * @returns the reference to the node of the instantiated container which matches the given name, or null if not found. */ getNodeByName(name: string): Node | null; private _recursivelyGetNodeByName; /** * Retrieve the reference to a script instance of the given type attached to a node with the given name. * @param name defines the name of the object to retrieve the script from. * @param classType defines the class of the type to retrieve. * @returns the reference to the script instance attached to the node which matches the given class type. */ getScriptByClassByObjectName any>(name: string, classType: T): InstanceType | null; }