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

RenderState.Wrap2 Property

Gets or sets the texture-wrapping behavior for multiple sets of texture coordinates. The default value for this render state is TextureWrapCoordinates.Zero (wrapping disabled in all directions).

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

public TextureWrapCoordinates Wrap2 { get; set; }

Property Value

Combination of values from TextureWrapCoordinates to set or get.

Valid values for this render state can be Zero, One, or both. These cause the system to wrap in the direction of the first, second, third, and fourth dimensions, sometimes referred to as the s, t, r, and q directions, for a given texture.

Xbox 360, Windows XP SP2, Windows Vista

© 2015 Microsoft