Note: This documentation is preliminary and is subject to change.
Allows applications to specify and obtain matrix transformations; for example, the world, view, and transformation matrices used for Microsoft® Direct3D® object rendering.
Definition
Visual Basic .NET
NotInheritable Public Class Transforms Inherits Object
An instance of this class is stored in the Device.Transform property, which is typically used to manipulate matrices. For instance, the following line of C# code moves the View transform back five units, points the view at the origin, and defines "up" as the y-direction.
[C#]
device.Transform.View = Matrix.LookAtLH(
new Vector3( 0.0f, 3.0f,-5.0f ),
new Vector3( 0.0f, 0.0f, 0.0f ),
new Vector3( 0.0f, 1.0f, 0.0f ) );