Export (0) Print
Expand All

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)

public void SetValueTranspose (
         Matrix value


The value.

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

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

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft