Streaming Model Component

This page details how to control the settings of individual VIVERSE Polygon Streaming models within your Unity project.


Streaming Model Component

The Streaming Model prefab represents the model to be streamed inside your project. A Streaming Model component always needs a reference to the Stream Controller component to function and a Source URL which is the URL of your converted model. Once those two are correctly set, your model will start streaming inside your project as soon as you press Play.

The Streaming Model component requires a Source URL for your model
The Streaming Model component requires a Source URL for your model

The Stream Controller is a reference to the Stream Controller inside your scene and needs to be set, and the Source URL is the URL of your converted model that needs to be pasted in the field.

In case your project is using Light Probes, you can tick the Light Probe Usage box. In case you would like to use a custom material in your streaming model, you can tick the Custom Material box, which will open a new panel that will allow you to change the material.

You can also set different Quality Priority options by clicking at Streaming Runtime Options Settings. This means that some models can have higher priority of streaming than others, it can use only integer numbers and it works in the following logic:

You can also turn on or off the Streaming Model Preview script to check a preview of your streaming model in the scene without the need to play it.

Enable or Disable the Streaming Model Preview script to check your model
Enable or Disable the Streaming Model Preview script to check your model

Supported Parameters

Name
Description
Default Value

Stream Controller

Set the Stream Controller from the scene.

None

Source Url

Address of the Streamable Model to be streamed into the scene.

None

Normals

Calculation parameter for the normals of the model being streamed.

Original Vertex Normals

Light Probe Usage

Enable if using Light Probes in the scene.

False

Custom Material

Enable if wish to use custom materials.

False

Quality Priority

How much to prioritize the quality of this model relative to the quality of other models in the scene. This parameter does nothing if this is the only model in the scene.

1

Last updated

Was this helpful?