Class ParticleLoader

Hierarchy

  • ObjectLoader
    • ParticleLoader

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional opts: {
          manager?: LoadingManager;
          onData?: ((data) => any);
      }
      • Optional manager?: LoadingManager
      • Optional onData?: ((data) => any)
          • (data): any
          • Parameters

            • data: any

            Returns any

    Returns ParticleLoader

Properties

onData?: ((data) => any)

Type declaration

    • (data): any
    • Parameters

      • data: any

      Returns any

Methods

  • Parameters

    • object: Object3D<Object3DEventMap>

    Returns void

  • Type Parameters

    • T extends Object3D<Object3DEventMap>

    Parameters

    • json: any
    • Optional onLoad: ((object) => void)
        • (object): void
        • Parameters

          • object: Object3D<Object3DEventMap>

          Returns void

    Returns T

  • Parameters

    • data: any
    • geometries: {
          [uuid: string]: BufferGeometry;
      }
      • [uuid: string]: BufferGeometry
    • materials: {
          [uuid: string]: Material;
      }
      • [uuid: string]: Material
    • textures: {
          [uuid: string]: Texture;
      }
      • [uuid: string]: Texture
    • animations: AnimationClip[]

    Returns Object3D<Object3DEventMap>