SceneLoaderProgressEvent

Class used to represent data loading progression

Hierarchy

  • SceneLoaderProgressEvent

Index

Constructors

Properties

Methods

Constructors

constructor

Find examples in Playground
  • Create a new progress event

    Parameters

    • lengthComputable: boolean

      defines if data length to load can be evaluated

    • loaded: number

      defines the loaded data length

    • total: number

      defines the data length to load

    Returns SceneLoaderProgressEvent

Properties

lengthComputable

Find examples in Playground
lengthComputable: boolean

defines if data length to load can be evaluated

loaded

Find examples in Playground
loaded: number

defines the loaded data length

total

Find examples in Playground
total: number

defines the data length to load

Methods

Static FromProgressEvent

Find examples in Playground
  • Creates a new SceneLoaderProgressEvent from a ProgressEvent

    Parameters

    • event: ProgressEvent

      defines the source event

    Returns SceneLoaderProgressEvent

    a new SceneLoaderProgressEvent

Generated using TypeDoc