drakus
Topic Author
Posts: 6
Joined: 12 Nov 2019, 15:13

Event noesis mouse remote

12 Nov 2019, 15:18

Is it possible to send mouse event in a remote unity window containing a noesisView ?

Tags:
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Event noesis mouse remote

13 Nov 2019, 11:38

Yes, the architecture allows that. You can inject events manually to the view. You just need to implement the part that collects the input from the network.
 
drakus
Topic Author
Posts: 6
Joined: 12 Nov 2019, 15:13

Re: Event noesis mouse remote

14 Nov 2019, 16:20

I inject my position and click on MouseButtonDown but I have some issues on refreshing , sometimes events don't refresh. I don't know why currently
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Event noesis mouse remote

15 Nov 2019, 11:10

Does it happen if you remove the network layer and inject the events locally?
 
drakus
Topic Author
Posts: 6
Joined: 12 Nov 2019, 15:13

Re: Event noesis mouse remote

15 Nov 2019, 14:51

In local , the events are ok , but in remote renderer doesn't work , I modified the NoesisView file and created remote function
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Event noesis mouse remote

15 Nov 2019, 18:17

Well, without more information I am no able to help you. Anyway, I don't see necessary to modify NoesisView at all, you should be able to inject events from outside.
 
drakus
Topic Author
Posts: 6
Joined: 12 Nov 2019, 15:13

Re: Event noesis mouse remote

15 Nov 2019, 18:31

I do it because , I don't want to add code managment into xaml.cs. I build a ddl of my unity scene the only way to send event for me it's attach my objectSender into NoesisView and catch event a send to process with UpdateMouse function by example. I do this because I can't integrate noesis with my implementation but the issue it's the same.
 
drakus
Topic Author
Posts: 6
Joined: 12 Nov 2019, 15:13

Re: Event noesis mouse remote

15 Nov 2019, 20:37

In remote mode , the _uiView.MouseButtonDown return false , I don't know why currently
 
User avatar
jsantos
Site Admin
Posts: 2802
Joined: 20 Jan 2012, 17:18
Contact:

Re: Event noesis mouse remote

18 Nov 2019, 15:13

In remote mode , the _uiView.MouseButtonDown return false , I don't know why currently
That function returns false whenever the event is not being handled, so for example, when clicking in an empty area.
 
drakus
Topic Author
Posts: 6
Joined: 12 Nov 2019, 15:13

Re: Event noesis mouse remote

18 Nov 2019, 17:25

Do I assign the correct window to handle events ?

Who is online

Users browsing this forum: No registered users and 10 guests