SpriteSheet Class |
Namespace: GeonBit.Core.Graphics
public class SpriteSheet
The SpriteSheet type exposes the following members.
Name | Description | |
---|---|---|
SpriteSheet |
Create spritesheet without any steps (you need to add via AddStep).
| |
SpriteSheet(Point) |
Create spritesheet from constant steps count.
|
Name | Description | |
---|---|---|
AddStep |
Define a step in the spritesheet.
| |
AssignNameToStep |
Attach a string identifier to a spritesheet step.
| |
BuildForConstStepSize |
Build the entire spritesheet from a constant step size.
Note: this only works for spritesheet with constant sprite size, eg all steps are at the same size.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetStep(Int32) |
Get spritesheet step by index.
| |
GetStep(String) |
Get spritesheet step by string identifier (if set).
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |