![]() |
![]() |
![]() |
Device.GetTransform Method |
Language: |
Retrieves a matrix that describes a transformation state.
Visual Basic .NET Public Function GetTransform( _
ByVal state As TransformType _
) As MatrixC# public Matrix GetTransform(
TransformType state
);Managed C++ public: Matrix GetTransform(
TransformType state
);JScript .NET public function GetTransform(
state : TransformType
) : Matrix;
state Microsoft.DirectX.Direct3D.TransformType. Transform that is being retrieved. This parameter can be any member of the TransformType enumerated type.
Microsoft.DirectX.Matrix . A Matrix structure that describes the returned transformation state.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center