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

OdinClient

public class OdinClient : IDisposable

Client Wrapper for ODIN ffi OdinLibrary

Constructors

NameDescription
OdinClient(String, String)Creates a new instance for ODIN ffi C# Wrapper
OdinClient(Uri, String)Creates a new instance for ODIN ffi C# Wrapper
OdinClient(Uri, String, IUserData)Creates a new instance for ODIN ffi C# Wrapper

Properties

NameDescription
RoomsA collection of all Room
EndPointConnection EndPoint. Default from OdinEditorConfig.
AccessKeyClient AccessKey for all new rooms. Default from OdinHandler config.
UserDataClient custom UserData

Public Methods

NameDescription
JoinRoomJoin or create a Room by name via a gateway
JoinNamedRoomJoin or create a named Room by token via a gateway
UpdateUserDataUpdates the Rooms for the current peer
SetPositionScaleUpdates the Rooms
UpdatePositionUpdates the Rooms
LeaveRoomLeave a joined Room
CloseCompletly closes this Client and all Room associated.
DisposeOn dispose will free all NativeMethods