Skip to content

@tmrw-realityos/worldDocs


@tmrw-realityos/world / VideoManager

Class: VideoManager

Constructors

new VideoManager()

new VideoManager(renderer): VideoManager

Parameters

renderer: RendererInterface

Returns

VideoManager

Defined in

world/managers/videoManager.ts:24

Properties

initialized

initialized: boolean = false

Defined in

world/managers/videoManager.ts:20


renderer

renderer: RendererInterface

Defined in

world/managers/videoManager.ts:22


videos

videos: Map<string, IVideoInfo>

Defined in

world/managers/videoManager.ts:21


instance?

static optional instance: VideoManager = undefined

Defined in

world/managers/videoManager.ts:18

Methods

fetchVideo()

fetchVideo(url): IVideoInfo

called to start fetching a frame

Parameters

url: string

Returns

IVideoInfo

Defined in

world/managers/videoManager.ts:42


getVideoTexture()

getVideoTexture(url): undefined | IVideoInfo

Parameters

url: string

Returns

undefined | IVideoInfo

Defined in

world/managers/videoManager.ts:97


startVideos()

startVideos(): void

Returns

void

Defined in

world/managers/videoManager.ts:33


update()

update(): void

Returns

void

Defined in

world/managers/videoManager.ts:31