CLASSES
TagsA - Z

FilesInput

Files

Description

class FilesInput

Constructor

new FilesInput(p_engine, p_scene, p_canvas, p_sceneLoadedCallback, p_progressCallback, p_additionnalRenderLoopLogicCallback, p_textureLoadingCallback, p_startingProcessingFilesCallback)

Parameters

Name Type Description
p_engine Engine @param p_engine
p_scene Scene @param p_scene
p_canvas HTMLCanvasElement @param p_canvas
p_sceneLoadedCallback any @param p_sceneLoadedCallback
p_progressCallback any @param p_progressCallback
p_additionnalRenderLoopLogicCallback any @param p_additionnalRenderLoopLogicCallback
p_textureLoadingCallback any @param p_textureLoadingCallback

Members

static FilesTextures : any[]

The array that holds the png textures to load

static FilesToLoad : any[]

The array that holds the vnd.ms-dds files to load

Methods

monitorElementForDragNDrop(p_elementToMonitor) → void

Parameters

Name Type Description
p_elementToMonitor HTMLElement It could be the rendering canvas or whatever element on the page

loadFiles(event) → void

Parameters

Name Type Description
event any

reload() → void