LogoLogo
VIVERSESupportBlogDiscord
  • Creator Tools
  • Polygon Streaming
  • Introduction & Benefits
  • Supported Formats & Standards
  • Asset Preparation & Best Practices
  • Upload and Convert a 3D Asset
  • Avoiding Common Mistakes: Preview Mode vs. Play Mode
  • Convertor Release Notes
  • Integrations & Plugins
    • Polygon Streaming iFrame Integration
    • Polygon Streaming PlayCanvas SDK
      • Plugin Usage
        • Option 1: Browser Extension
          • Polygon Streaming Project Settings
          • Streaming Model Component
        • Option 2: Standalone Plugin
        • Option 3: HTML Scripting
    • Polygon Streaming Unity SDK
      • Plugin Usage
      • Polygon Streaming Project Settings
      • Streaming Model Component
    • Polygon Streaming Unreal Engine SDK
      • Plugin Usage
      • Polygon Streaming Project Settings
      • Streaming Model Component
  • Polygon Streaming JavaScript SDK
    • Babylon.js
    • Three.js
Powered by GitBook
LogoLogo

Important Links

  • COOKIE POLICY
  • TERMS OF SERVICE
  • PRIVACY POLICY
  • VIVERSE PARTNERS

Socials

  • X / Twitter
  • LinkedIn
  • Instagram

© 2025 HTC CORPORATION

On this page
  • PlayCanvas Standalone Plugin

Was this helpful?

Export as PDF
  1. Integrations & Plugins
  2. Polygon Streaming PlayCanvas SDK
  3. Plugin Usage

Option 2: Standalone Plugin

This document provides a guide for using the Standalone Plugin to integrate Polygon Streaming into a PlayCanvas project that does not target publication to VIVERSE.

PreviousStreaming Model ComponentNextOption 3: HTML Scripting

Last updated 2 months ago

Was this helpful?


PlayCanvas Standalone Plugin

For PlayCanvas projects that are not targeting publication to VIVERSE, this PlayCanvas standalone plugin is the first option for integrating Polygon Streaming into those projects. Because these projects will not be published to VIVERSE, we've created a standalone version of the plugin that does not utilize the PlayCanvas VIVERSE Chrome browser extension.

For using Polygon Streaming Standalone in PlayCanvas, the Basis Library needs to be imported inside your PlayCanvas project. To import the library go to: Settings -> Rendering -> and click the IMPORT BASIS button.

1

Install the plugin

Download the latest version of the PlayCanvas standalone plugin . Import the polygon-streaming.js script into the Assets window of the PlayCanvas project.

2

Create the StreamController

A. Create a new entity and name it StreamController. This entity will control the streaming models inside the project.

B. Add the StreamController script to the StreamController entity. You can check detailed information on these parameters .

C. Add the Camera entity from the project to the Camera field.

3

Create the StreamableModel

A. Create a new entity and name it StreamableModel.

B. Add the StreamableModel script to the StreamableModel entity. This will create the component to stream the model inside the scene.

C. Paste the URL address of your streaming model into the Path or url to model field.

4

Test the model

Launch the project in the PlayCanvas editor to test the streaming model.

here
here