TUIOsharp.TuioServer.Connect C# (CSharp) Method

Connect() public method

public Connect ( ) : void
return void
        public void Connect()
        {
            if (!udpReceiver.IsRunning) udpReceiver.Start();
        }

Usage Example

Example #1
0
        /// <inheritdoc />
        protected override void Start()
        {
            base.Start();

            server = new TuioServer(TuioPort);
            server.MovementThreshold = MovementThreshold*TouchManager.Instance.DotsPerCentimeter/Mathf.Max(Screen.width, Screen.height);
            server.CursorAdded += OnCursorAdded;
            server.CursorUpdated += OnCursorUpdated;
            server.CursorRemoved += OnCursorRemoved;
            server.Connect();
        }
All Usage Examples Of TUIOsharp.TuioServer::Connect