Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Projections in the JavaScript API

Silverlight

Silverlight 3 introduces a way to simulate 3-D effects through projections on a plane. This topic documents the availability of projections for JavaScript API in Silverlight 3.

Projections are a simplified API for using transforms that simulate a 3-D effect in Silverlight rendering by projecting the object on a plane, then transforming that plane.

Rather than being presented as discrete pages in the JavaScript API Reference for Silverlight, this topic lists the projection types and their members that can be instantiated from XAML and then used with the JavaScript API. The list includes links to the managed API equivalents, which provide XAML usage and examples.

To establish a projection, you set the Projection property on any UIElement. In XAML, you set this using property element syntax, with value of an object element that is either PlaneProjection or Matrix3DProjection.

PlaneProjection

CenterOfRotationX

CenterOfRotationY

CenterOfRotationZ

GlobalOffsetX

GlobalOffsetY

GlobalOffsetZ

LocalOffsetX

LocalOffsetY

LocalOffsetZ

ProjectionMatrix (see Remarks)

RotationX

RotationY

RotationZ

Matrix3D

M11

M12

M13

M14

M21

M22

M23

M24

M31

M32

M33

M34

M44

OffsetX

OffsetY

OffsetZ

Matrix3DProjection

ProjectionMatrix

Remarks

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.