RenderingConnection.Update Method

Definition

Pushes all client updates to the server and dispatches all messages received from the server.

public:
 void Update();
public void Update ();
member this.Update : unit -> unit
Public Sub Update ()

Remarks

Client updates such as entity and component state changes, raycast requests, and other async operations are queued on the client side and only sent to the server during a call to Update().

Similarly, results from the server that arrived in the mean time, for example for raycasts and model loads, have been queued and will be dispatched to the client code only during Update().

Consequently, Update() must be called once every frame. Calls to Update() invoke the Updated event.

* A NoConnection error occurs, if there was no connection found.

Applies to