window.kaolin
    Preparing search index...

    Function disposeObject

    • Disposes all of the contained objects and materials of the given object.

      Parameters

      • object: Object3D<Object3DEventMap>

        Object3D to dispose (recursively visits children and their resources).

      • disposeMaterials: boolean = true

        When true, also disposes materials and their textures.

      Returns void