PixelSize

OBSOLETE The PixelSize property is an obsolete property which was commonly used prior to summer 2013. The TextureScale property has replaced the PixelSize property. The PixelSize property is equivalent to TexutureScale/2. The PixelSize property was originally created to work well with ScaleX and ScaleY values, but since then FlatRedBall.Sprite.TextureScale, Width, and Height have replaced PixelSize,[…]

TextureAddressMode

Introduction The TextureAddressMode controls how Sprites display their texture outside of the 0 – 1 range. TextureAddressMode can be used to create tiles and texture scrolling. TextureAddressMode is usually used in combination with texture coordinates. For more information on texture coordinates, see the texture coordinates page. Usage Example The following code creates three sprites. It[…]