Extends
Index
Constructors
Protected Properties
Public Methods
Protected Methods
Constructors
constructor
⊕ new EqServerModelLoader(context: EqContext): EqServerModelLoader
Parameters:
- context: EqContext
Protected Properties
context
● context: EqContext
modelLoadingRejectFunc
● modelLoadingRejectFunc: (reason?: any
) => void
modelLoadingResolveFunc
● modelLoadingResolveFunc: (value?: ModelPlainData | PromiseLike
<ModelPlainData>) => void
modelPromise
● modelPromise: Promise
<ModelPlainData> | null
= null
Public Methods
getContext
▸ getContext(): EqContext
Returns EqContext
getModelPromise
Returns the Promise
of the model loading process
▸ getModelPromise(): Promise
<ModelPlainData>
Returns Promise
<ModelPlainData>
init
▸ init(): void
Returns void
startModelLoading
▸ startModelLoading(options: ModelLoadOptions): Promise
<ModelPlainData>
Parameters:
- options: ModelLoadOptions
Returns Promise
<ModelPlainData>
Protected Methods
createModelLoadingPromise
▸ createModelLoadingPromise(): void
Returns void
sendLoadModelRequest
▸ sendLoadModelRequest(options: LoadModelOptions
): void
Parameters:
- options:
LoadModelOptions
Returns void