Static Model Streaming
Stream and display static (non-animated) 3D models. Supported source formats: GLB, FBX, and other geometry formats converted to XRG.
Minimal Code Example
using UnityEngine;
public class StaticModelExample : MonoBehaviour
{
public StreamingModel streamingModel;
void Start()
{
streamingModel.SetLoadedCallback(() => Debug.Log("Model is ready!"));
streamingModel.SetLoadFailedCallback(ex => Debug.LogError(ex.Message));
}
}Common Operations
streamingModel.enabled = false;
streamingModel.sourceUrl = "https://example.com/new_model.xrg";
streamingModel.enabled = true;Last updated
Was this helpful?