Skip to main content

View360Plugin

Since version 4.0.0

A plugin interface for View360

interface View360Plugin

Methods

Destroy plugin and release all resources & event handlers.

Initialize plugin.

Methods

destroy

>=4.0.0
destroy

void

destroy(viewer: View360): void

Destroy plugin and release all resources & event handlers.

Parameters

viewer

A instance of viewer to detach plugin

init

>=4.0.0
init

void

init(viewer: View360): void

Initialize plugin.

Parameters

viewer

A instance of viewer to attach plugin