Manages the broadcasting of camera data from the client to the server.
More...
|
| void | Awake () |
| |
| override void | OnNetworkSpawn () |
| | Subscribes to camera data capture events if the client is the owner and conditions are met.
|
| |
| void | ClientSendImageToServer (byte[] image, int width, int height) |
| | Sends compressed image data to the server in chunks, ensuring it adheres to the maximum processing frequency.
|
| |
| void | Init (FmarClient client) |
| |
Manages the broadcasting of camera data from the client to the server.
◆ Awake()
| void FMAR.Networking.Camera.ClientCameraBroadcaster.Awake |
( |
| ) |
|
|
inline |
◆ ClientSendImageToServer()
| void FMAR.Networking.Camera.ClientCameraBroadcaster.ClientSendImageToServer |
( |
byte[] | image, |
|
|
int | width, |
|
|
int | height ) |
|
inline |
Sends compressed image data to the server in chunks, ensuring it adheres to the maximum processing frequency.
- Parameters
-
| image | The image data to send. |
| width | The width of the image. |
| height | The height of the image. |
◆ OnNetworkSpawn()
| override void FMAR.Networking.Camera.ClientCameraBroadcaster.OnNetworkSpawn |
( |
| ) |
|
|
inline |
Subscribes to camera data capture events if the client is the owner and conditions are met.
The documentation for this class was generated from the following file: