Microsoft DirectX 9.0 SDK Update (October 2004)

Device.GetTransform Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves a matrix that describes a transformation state.

Definition

Visual Basic .NET Public Function GetTransform( _
    ByVal state As TransformType _
) As Matrix
C# public Matrix GetTransform(
    TransformType state
);
Managed C++ public: Matrix GetTransform(
    TransformType state
);
JScript .NET public function GetTransform(
    state : TransformType
) : Matrix;

Parameters

state Microsoft.DirectX.Direct3D.TransformType. Transform that is being retrieved. This parameter can be any member of the TransformType enumerated type.

Return Value

Microsoft.DirectX.Matrix . A Matrix structure that describes the returned transformation state.

Remarks

This method does not return device state for devices created using PureDevice. To use this method, create a device with any of the other flag values in CreateFlags.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center