Skip to content

@tmrw-realityos/charm / Exports / ROSPlugin

Interface: ROSPlugin

An element that adds functionality to ROSPlayer and lives inside the host, usually a <ros-player> element. Defines a simplified and isolated way to communicate with the host without knowing its inner details.

Hierarchy

  • Element

    ROSPlugin

Implemented by

Table of contents

Methods

Methods

initializePlugin

initializePlugin(host, device): void

Parameters

NameType
hostROSHost
deviceGPUDevice

Returns

void

Defined in

packages/charm/src/webComponents/plugin.ts:13