Microsoft DirectX 9.0 SDK Update (October 2004)

Device.SetTransform Method

Language:

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

Sets a single device transform.

Definition

Visual Basic .NET Public Sub SetTransform( _
    ByVal state As TransformType, _
    ByVal matrix As Matrix _
)
C# public void SetTransform(
    TransformType state,
    Matrix matrix
);
Managed C++ public: void SetTransform(
    TransformType state,
    Matrix matrix
);
JScript .NET public function SetTransform(
    state : TransformType,
    matrix : Matrix
);

Parameters

state Microsoft.DirectX.Direct3D.TransformType. Type of transform that is being modified; can be any member of the TransformType enumerated type.
matrix Microsoft.DirectX.Matrix. A Matrix structure that modifies the current transform.

Remarks

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