CLASSES
TagsA - Z

MeshAssetTask

MeshAssets

Description

class MeshAssetTask extends AbstractAssetTask

Constructor

new MeshAssetTask(name, meshesNames, rootUrl, sceneFilename)

Parameters

Name Type Description
name string
meshesNames any
rootUrl string

Members

name : string

meshesNames : any

rootUrl : string

sceneFilename : string

loadedMeshes : Array<AbstractMesh>

loadedParticleSystems : Array<ParticleSystem>

loadedSkeletons : Array<Skeleton>

Methods

runTask(scene, onSuccess, onError) void

Parameters

Name Type Description
scene Scene
onSuccess () => void
onError (message: string, exception: any) => void