Guest User

Untitled

a guest
Jun 30th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Convert a PlaneProjection into a MatrixTransform
  2. <Rectangle Fill="Red" Margin="50">
  3. <Rectangle.Projection>
  4. <PlaneProjection RotationX="-40"/>
  5. </Rectangle.Projection>
  6. </Rectangle>
  7.  
  8. var matrix = (myElement.Projection as PlaneProjection).ProjectionMatrix;
  9. var matrixProjection = new Matrix3DProjection { ProjectionMatrix = matrix };
Advertisement
Add Comment
Please, Sign In to add comment