Share via


ConstantTable.SetValueTranspose(Device,EffectHandle,Matrix) Method (Microsoft.DirectX.Direct3D)

Sets a Matrix or an array of matrices to the constant table.

Definition

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

Parameters

device Microsoft.DirectX.Direct3D.Device
A Device object that represents the device associated with the constant table.
constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle that represents a unique identifier of a constant.
matrix Microsoft.DirectX.Matrix
Transposed matrix to set to the constant table.

Remarks

Exceptions

InvalidCallException

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