EffectParameter.SetValueTranspose Method (Matrix)

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

Syntax

'Declaration
Public Sub SetValueTranspose ( _
         value As Matrix _
)
public void SetValueTranspose (
         Matrix value
)
public:
void SetValueTranspose(
         Matrix value
)

Parameters

  • value
    Type: Matrix
    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.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

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

Platforms

Windows Phone