开发者

Drawing 2d lines spaced on a z axis in Silverlight 4

I currently have a Silverlight 4 app that draws some simple 2d layouts with lines. I'd like to draw multiple 2d line layouts but space them along a z axis, then rotate so I can see multiple layouts from an angle.

Do I need to go to a full on 3d framework to accomplish this in SL4? Eager to learn from anyone else that might have a short cut as all my objects in the layout are 2d, they just need to be space开发者_StackOverflow中文版d in a 3d way.


Whilst your question currently lacks clarity there are a couple features you might consider.

A UI element as a RenderTransform property so you could assign a ScaleTransform on various shapes to create a sense of different instances of a shape being at different depths.

Are you looking to generate perspective on an individual shape as if the shape is rotate about the X or Y axis so that part of the shape is closer to the viewer and part is further away? In that case you can assign a PlaneProjection to the shape's Projection property to achieve that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜