Developer Documentation
Our new developer documentation is now available. Please check it out!

Room.SetPosition

public virtual Task<RpcResult> SetPosition(float x = 0F, float y = 0F)

Set the spatial position for server side culling. Other remote peers outside the boundary will appear as not in the room or leaving the room.

Info

Be aware that the task is created for resolving Msgpack request/response result as Room. Unless handled correctly should not be awaited by the corresponding context.

Parameters

NameTypeDescription
xSingleX of vector
ySingleY of vector

Returns

TypeDescription
Task<RpcResult>Thunk task that will not run (see )