IXRMatrix3D (Compact 2013)
3/28/2014
This C++ class represents a three-dimensional (3-D) space that is represented by a 4 × 4 matrix.
Syntax
class IXRMatrix3D : public IXRDependencyObject
Inheritance Hierarchy
IXRMatrix3D
Methods
Method |
Description |
---|---|
Retrieves the multiplier value to apply to the points in the first row and first column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the first row and second column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the first row and third column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the first row and fourth column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the second row and first column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the second row and second column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the second row and third column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the second row and fourth column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the third row and first column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the third row and second column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the third row and third column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the third row and fourth column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the fourth row and fourth column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the fourth row and first column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the fourth row and second column of a 3-D matrix. |
|
Retrieves the multiplier value to apply to the points in the fourth row and third column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the first row and first column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the first row and second column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the first row and third column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the first row and fourth column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the second row and first column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the second row and second column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the second row and third column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the second row and fourth column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the third row and first column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the third row and second column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the third row and third column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the third row and fourth column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the fourth row and fourth column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the fourth row and first column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the fourth row and second column of a 3-D matrix. |
|
Sets the multiplier value to apply to the points in the fourth row and third column of a 3-D matrix. |
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 transform a UI object in 3-D space, create a custom IXRMatrix3D object, create an IXRMatrix3DProjection object, and pass the IXRMatrix3D object into IXRMatrix3DProjection::SetProjectionMatrix. Then, transform the UI object by passing the IXRMatrix3DProjection object into its inherited method IXRUIElement::SetProjection.
To define a custom 3-D transformation, specify a multiplier value for members of the 3-D matrix, such as M1 and M2, by using the Set methods. For information about setting these values, see Matrices on MSDN.
Or, you can define the 3-D matrix by using the methods on IXRPlaneProjection. After you do this, you can obtain the resulting IXRMatrix3D object by calling its method IXRPlaneProjection::GetProjectionMatrix.
When you create a class instance, use an IXRMatrix3DPtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.
You can also define a 3-D matrix in Microsoft Silverlight 3 XAML. For information about the differences between XAML in XAML for Windows Embedded and Silverlight 3, see Differences Between Microsoft Silverlight 3 and XAML for Windows Embedded. For more information about defining this attribute in the source XAML for your application, see Matrix3D Structure on MSDN.
.NET Framework Equivalent
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |