Guillaume André

Apprentissage, étude et approfondissement des nouvelles technologies

21 Apr, 2009

Silverlight 3 : Spiral Flip Control 3D

Posted by: Guillaume Andre In: Silverlight

Silverlight 3 : Spiral Flip Control 3D

Au menu d’aujourd’hui un control Spiral Flip 3D !

Comme je vous avez pu le lire dans mes posts précédents dédiées aux animations et à la 3D il est à présent possible avec Silverlight 3 de réaliser quelques scénarios très simple en 3D. Voici un aperçu en vidéo.


View on Vimeo.

Quelques portions de code C# clés :

Storyboard.SetTargetProperty(sbNext, new PropertyPath("(UIElement.Projection).(PlaneProjection.RotationX)"));
PlaneProjection pj = new PlaneProjection();
pj.CenterOfRotationX = 0.5;
monImage.Projection = pj;
((FindName("img" + currentPhoto) as Image).Resources["sbPrev" + currentPhoto] as Storyboard).Begin();

Je compte packager ce contrôle dans les prochains jours, stay tuned !

No Responses to "Silverlight 3 : Spiral Flip Control 3D"

Comment Form