-
Book Overview & Buying
-
Table Of Contents
Instant Silverlight 5 Animation
By :
Perspective transform (also sometimes called projection transform) enables the developers to position or move Silverlight (2D) objects within 3D space. It is invaluable for creating simple but effective 3D animations, for example, for Silverlight banners.
Let's explain perspective transform while describing the corresponding sample located under the SAMPLES\CODE\ProjectionSample folder. This sample allows you to investigate all of the parameters of the perspective transform.
Perspective transform in Silverlight is achieved by setting the Projection property of a Silverlight object to contain the PlaneProjection object, whose parameters define the parameters of perspective transform. These parameters include three rotation angles corresponding to rotation around each axis X, Y, and Z, 3D coordinates of the center of rotation, global offset, specifying 3D translation in the viewer's coordinates and local offset, specifying the 3D translation in the coordinates that rotate...
Change the font size
Change margin width
Change background colour