Share via


EffectStateManager.SetTransform(TransformType,Matrix) Method (Microsoft.DirectX.Direct3D)

Sets a transform.

Definition

Visual Basic MustOverride Public Sub SetTransform( _
    ByVal transformType As TransformType, _
    ByRef transform As Matrix _
)
C# public abstract void SetTransform(
    TransformType transformType,
    ref Matrix transform
);
C++ public:
virtual void SetTransform(
    TransformType transformType,
    Matrixtransform
) abstract;
JScript public abstract function SetTransform(
    transformType : TransformType,
    transform : Matrix
);

Parameters

transformType Microsoft.DirectX.Direct3D.TransformType
A value from the TransformType enumeration to set.
transform Microsoft.DirectX.Matrix
A transformation Matrix to set.

Remarks

SetTransform is a user-implemented method that is called from an effect during rendering.