Share via


TextureShader.SetValueTranspose(EffectHandle,Matrix[]) Method (Microsoft.DirectX.Direct3D)

Sets a transposed matrix.

Definition

Visual Basic Public Sub SetValueTranspose( _
    ByVal constant As EffectHandle, _
    ByVal matrix() As Matrix _
)
C# public void SetValueTranspose(
    EffectHandle constant,
    Matrix[] matrix
);
C++ public:
void SetValueTranspose(
    EffectHandleconstant,
    array<Matrix>^ matrix
);
JScript public function SetValueTranspose(
    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[]
An array of transposed Matrix objects to set.

Remarks

A transposed matrix contains column-major data; that is, each vector is contained in a column.

Exceptions

InvalidCallException

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