This project is read-only.


The sprite entity is the primary way of displaying 2D graphics in RhinoXNA.


Namespace: RhinoXNA.RhinoGraphics.Rhino2D
Inherits from: IRhinoDrawable
Public Properties
  • Texture (Texture2D) - Returns the texture related to this sprite
  • SourceRect (Rectangle) - Returns the source rectangle used to draw this sprite from the related texture
  • BoundingBox (Rectangle) - Returns a rectangle surrounding the sprite; useful for collision


When extending the SpriteEntity only one method needs to be overridden:
protected abstract void Animate(GameTime gameTime);

Animate() is called every Update() call and should be used to move/animate the sprite.

Last edited Aug 31, 2010 at 7:06 PM by MattChristian, version 9


No comments yet.