开发者

Design a TagVisualization for a control dial

I'd like to design a UI-Element, which gives the User the possibility to switch between different options. Therefore I want to use a Tangible which acts as control dial... I have already designed a Pointer and a Menu. The problem:

When the User rotates the Tan开发者_C百科gible, the Menu should stand still and the pointer should follow the rotation-movement. But when the User just moves the Tangible (without a rotation), the whole UI-Element should move.

Here a example for a non-Tangible control dial:

http://msdn.microsoft.com/en-us/library/ee804832%28v=surface.10%29.aspx

Does anyone know how to deal this with a TagVisualization?

Thanks in advance,

Chris

EDIT:

I've written a small tutorial, which can be viewed on: http://project-premium.org/


Set UsesTagOrientation=false on the TagVisualization or TagVisualizationDefinition

Inside the TagVisualization, monitor TrackedContact.Orientation to update your dial UI

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜