MULTIMEDIA

Silverlight : Put Content into a 3D Perspective

10/9/2010 4:43:09 PM
You can use MediaElement.Projection to transform the MediaElement onto a 3D plane. Figure 1 shows the results.
Figure 1. It’s easy to add a 3D perspective to your Silverlight app with the Projection property.


<MediaElement Grid.Row="0"
x:Name="videoPlayer"
Stretch="Fill"
DownloadProgressChanged="videoPlayer_DownloadProgressChanged">
<MediaElement.Projection>
<PlaneProjection RotationY="45" RotationX="-15"/>
</MediaElement.Projection>
</MediaElement>

And like all other dependency properties, these can be animated.

Other  
  •  Silverlight : Response to Timer Events on the UI Thread
  •  Silverlight : Build a Download and Playback Progress Bar
  •  Silverlight : Play a Video
  •  C# 4.0 : Add a Static Constructor and Initialization
  •  C# 4.0 : Add a Constructor
  •  .NET Compact Framework : Font Selection
  •  .NET Compact Framework : Drawing Text
  •  Programming the Service Bus
  •  WCF Services : Generics
  •  WCF Services : Delegates and Data Contracts
  •  WCF Services : Enumerations
  •  WCF Services : Versioning
  •  WCF Services : Data Contract - Equivalence
  •  WCF Services : Data Contract - Hierarchy
  •  WCF Services : Data Contract - Attributes
  •  Executing Work on a Background Thread with Updates
  •  Persisting Data on the Client with Silverlight 4
  •  Dynamically Loading XAML on Silverlight 4
  •  Leverage and Locate Controls and Classes on Silverlight 4
  •  Introducing Silverlight 2
  •  
    Most View
    Giada Mini PC D2305 - A Change Of Shape
    Scosche New Bluetooth Mobile Speaker
    Windows 7 : Indexing Your Computer for Faster Searches (part 1) - Adding or Removing Indexed Locations
    Build A Home Theatre PC (Part 4)
    Algorithms for Compiler Design: RIGHT LINEAR AND LEFT LINEAR GRAMMAR
    Kingston HyperX T1 Performance RAM – Hyper-Formance Memory
    DirectX 10 Game Programming : Direct3D Fonts
    Otter Grade Protection For Consumer Smartphones
    Designing and Implementing Mobility in Exchange Server 2010 : Securing Access to ActiveSync Using Internet Security and Acceleration (ISA) Server 2006
    Multifunction Printer Group Test (Part1) : Canon Pixma MG2250, Canon Pixma MX895
    Top 10
    ASP.NET 4 in VB 2010 : The Data Controls - Sorting and Paging the GridView
    Microsoft Content Management Server Development : A Date-Time Picker Placeholder Control (part 2)
    Microsoft Content Management Server Development : A Date-Time Picker Placeholder Control (part 1)
    Microsoft Content Management Server Development : Building SharePoint Web Parts - Configuring the Web Part, Debugging the Web Part
    Windows Server 2008 R2 networking : Planning and Deploying DNS (part 4) - Monitoring and troubleshooting DNS
    Windows Server 2008 R2 networking : Planning and Deploying DNS (part 3) - Setting up DNS zones
    Windows Server 2008 R2 networking : Planning and Deploying DNS (part 2) - Installing the DNS Server role, Configuring DNS Servers
    Windows Server 2008 R2 networking : Planning and Deploying DNS (part 1) - Designing a DNS infrastructure
    Windows Server 2008 R2 networking : Routing and Remote Access
    ADO.NET Programming : Microsoft SQL Server (part 4) - Working with Typed Data Sets