I have been playing around with getting a simple gui going with PyThreeJS and I am really liking your work.
So far I got most things working, but while trying out some Pickers I ran into the problem that i don't know exactly how to use certain attributes of the Picker. For example, event takes a Unicode string and from the example I know it can take click, dblclick and mousemove, but i don't know any others. If i want a 'right-click' event, I wouldn't know where to look for the correct Unicode string.
Similarly i don't know how to use the root or picked attributes. For example, can root be any Mesh object? but i don't know how picked is used.
I tried looking at the ThreeJS documentation but as far as i can see Picker is a type of raycasting specific to the implementation of PyThreeJS or am i wrong? Is there some documentation i could refer to which explains the classes and their attributes (to some extent)?
Nevermind about the event string, it is the same as the DOM events. However, my question on root, picked and many of the other attributes still stands.
I have been playing around with getting a simple gui going with PyThreeJS and I am really liking your work.
So far I got most things working, but while trying out some Pickers I ran into the problem that i don't know exactly how to use certain attributes of the Picker. For example,
event
takes a Unicode string and from the example I know it can takeclick
,dblclick
andmousemove
, but i don't know any others. If i want a 'right-click' event, I wouldn't know where to look for the correct Unicode string.Similarly i don't know how to use the
root
orpicked
attributes. For example, canroot
be any Mesh object? but i don't know howpicked
is used.I tried looking at the ThreeJS documentation but as far as i can see Picker is a type of raycasting specific to the implementation of PyThreeJS or am i wrong? Is there some documentation i could refer to which explains the classes and their attributes (to some extent)?