Share via


EffectParameter.SetValueTranspose Method (Matrix )

Sets the value of the EffectParameter to the transpose of a Matrix.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void SetValueTranspose (
         Matrix[] value
)

Parameters

  • value
    The value.

Exceptions

Exception type Condition
InvalidCastException This EffectParameter is not a matrix of the correct size to contain the transpose of the matrix specified in value.

Remarks

Setting the value of an effect parameter is a slow operation. Avoid high-frequency calls.

See Also

Reference

EffectParameter Class
EffectParameter Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista