useStreamedObject
Uses a streamed object by their ID.
Syntax
useStreamedObject(id);
Parameters
| Name | Type | Description |
|---|---|---|
id | number | The ID of the object to use. |
Returns
- `ObjectManager or
null- The object manager for the object, ornullif the object is not streamed in.
Example
const object = useStreamedObject('my-object-id');
Available on: Client