Share via


TextureShader.SetValue(EffectHandle,Matrix) Method (Microsoft.DirectX.Direct3D)

Sets a Matrix object.

Definition

Visual Basic Public Sub SetValue( _
    ByVal constant As EffectHandle, _
    ByVal matrix As Matrix _
)
C# public void SetValue(
    EffectHandle constant,
    Matrix matrix
);
C++ public:
void SetValue(
    EffectHandleconstant,
    Matrix matrix
);
JScript public function SetValue(
    constant : EffectHandle,
    matrix : Matrix
);

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier to a constant.
matrix Microsoft.DirectX.Matrix
A Matrix object to set.