API ReferenceGlobalsGLBRenderWorker

# Class: GLBRenderWorker

# Hierarchy

  • GLBRenderWorker

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new GLBRenderWorker(sceneManager: GLBViewerSceneManager, width: number, height: number): GLBRenderWorker

Defined in packages/glb-viewer-core/src/services/glb-render-worker.ts:38

Parameters:

Name Type
sceneManager GLBViewerSceneManager
width number
height number

Returns: GLBRenderWorker

# Methods

# addListener

addListener(listener: GLBRenderWorkerListener): void

Defined in packages/glb-viewer-core/src/services/glb-render-worker.ts:51

Parameters:

Name Type
listener GLBRenderWorkerListener

Returns: void


# removeListener

removeListener(listener: GLBRenderWorkerListener): void

Defined in packages/glb-viewer-core/src/services/glb-render-worker.ts:55

Parameters:

Name Type
listener GLBRenderWorkerListener

Returns: void


# start

start(entries: RenderEntry[]): Promise‹any›

Defined in packages/glb-viewer-core/src/services/glb-render-worker.ts:59

Parameters:

Name Type
entries RenderEntry[]

Returns: Promise‹any›