IXRPlaneProjection (Compact 7)
3/12/2014
This C++ class applies a three-dimensional (3-D) transformation to a UI object.
Syntax
class IXRPlaneProjection : public IXRProjection
Inheritance Hierarchy
IXRPlaneProjection
Methods
Method | Description |
---|---|
Retrieves the x-coordinate of the center of rotation of the object to rotate. |
|
Retrieves the y-coordinate of the center of rotation of the object to rotate. |
|
Retrieves the z-coordinate of the center of rotation of the object to rotate. |
|
Retrieves the translation distance of the object along the x-axis of the screen. |
|
Retrieves the translation distance of the object along the y-axis of the screen. |
|
Retrieves the translation distance of the object along the z-axis of the screen. |
|
Retrieves the translation distance of the object along the x-axis of the screen. |
|
Retrieves the translation distance of the object along the y-axis of the object. |
|
Retrieves the translation distance of the object along the z-axis of the object. |
|
Retrieves the IXRMatrix3D object that defines a 3-D transformation. |
|
Retrieves the number of degrees to rotate the object around the x-axis of rotation. |
|
Retrieves the number of degrees to rotate the object around the y-axis of rotation. |
|
Retrieves the number of degrees to rotate the object around the z-axis of rotation. |
|
Sets the x-coordinate of the center of rotation of the object to rotate. |
|
Sets the y-coordinate of the center of rotation of the object to rotate. |
|
Sets the z-coordinate of the center of rotation of the object to rotate. |
|
Sets the translation distance of the object along the x-axis of the screen. |
|
Sets the translation distance of the object along the y-axis of the screen. |
|
Sets the translation distance of the object along the z-axis of the screen. |
|
Sets the translation distance of the object along the x-axis of the screen. |
|
Sets the translation of the object along the y-axis of the screen. |
|
Sets the translation distance of the object along the z-axis of the screen. |
|
Sets the number of degrees to rotate the object around the x-axis of rotation. |
|
Sets the number of degrees to rotate the object around the y-axis of rotation. |
|
Sets the number of degrees to rotate the object around the z-axis of rotation. |
Thread Safety
Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.
Remarks
To make an object appear as if it is projecting into three-dimensional space, you can define a perspective transformation for it by using the methods of IXRPlaneProjection.
To apply a 3-D transformation to an object that derives from IXRUIElement, create an IXRPlaneProjection object and then provide it in a call to IXRUIElement::SetProjection.
When you create a class instance, use an IXRPlaneProjectionPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.
You can also define a perspective transformation in Microsoft Silverlight 3 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 3, see Differences Between Microsoft Silverlight 3 and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see the PlaneProjection Class on MSDN.
.NET Framework Equivalent
System.Windows.Media.PlaneProjection
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |