Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

GraphicsDevice.GetVertexShaderQuaternionConstant Method

Gets a Quaternion value from the vertex shader constant float registers.

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

public Quaternion GetVertexShaderQuaternionConstant (
         int startRegister


Vertex shader constant float register of the first constant.

Return Value

Quaternion value retrieved from the constant registers.

Exception typeCondition
InvalidOperationException The method call is invalid. For example, a method's parameter may have an invalid value.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft