Gametexture

Description

This will be a struct which will hold info about Game Textures for use in things like the HUD.

Relationships

Members

  • Vector3 position - the position of the texture
  • Vector3 origin - the origin of the texture
  • Texture2D texture - the texture
  • Rectangle rectangle - the bounding box of the texture
  • float rotation - a float value to determine rotation (in radians)
  • float scale - a float value to determine scale (1.0f is original size)
  • Color color - the color of the texture
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License