Otter  0.9.8.91
2d Game Development Framework based on SFML.Net
 All Classes Namespaces Functions Variables Enumerations Properties
Otter.AtlasTexture Class Reference

Class used for representing a texture on a texture atlas. More...

Public Member Functions

override string ToString ()
 

Public Attributes

int X
 The X position of the texture in the atlas. More...
 
int Y
 The Y position of the texture in the atlas. More...
 
int Width
 The width of the texture in the atlas. More...
 
int Height
 The height of the texture in the atlas. More...
 
int FrameWidth
 The frame width of the texture in the atlas (used in Trim mode.) Trim is not supported yet. More...
 
int FrameHeight
 The frame height of the texture in the atlas (used in Trim mode.) Trim is not supported yet. More...
 
int FrameX
 The frame X position of the texture in the atlas (used in Trim mode.) Trim is not supported yet. More...
 
int FrameY
 The frame Y position of the texture in the atlas (used in Trim mode.) Trim is not supported yet. More...
 
string Name
 The name of the texture in the atlas. More...
 
string Source
 The file path source of the texture. More...
 
Texture Texture
 The texture loaded for this atlas texture. More...
 

Properties

Rectangle Region [get]
 The rectangle region of the texture in the atlas. More...
 

Detailed Description

Class used for representing a texture on a texture atlas.

Member Data Documentation

int Otter.AtlasTexture.FrameHeight

The frame height of the texture in the atlas (used in Trim mode.) Trim is not supported yet.

int Otter.AtlasTexture.FrameWidth

The frame width of the texture in the atlas (used in Trim mode.) Trim is not supported yet.

int Otter.AtlasTexture.FrameX

The frame X position of the texture in the atlas (used in Trim mode.) Trim is not supported yet.

int Otter.AtlasTexture.FrameY

The frame Y position of the texture in the atlas (used in Trim mode.) Trim is not supported yet.

int Otter.AtlasTexture.Height

The height of the texture in the atlas.

string Otter.AtlasTexture.Name

The name of the texture in the atlas.

string Otter.AtlasTexture.Source

The file path source of the texture.

Texture Otter.AtlasTexture.Texture

The texture loaded for this atlas texture.

int Otter.AtlasTexture.Width

The width of the texture in the atlas.

int Otter.AtlasTexture.X

The X position of the texture in the atlas.

int Otter.AtlasTexture.Y

The Y position of the texture in the atlas.

Property Documentation

Rectangle Otter.AtlasTexture.Region
get

The rectangle region of the texture in the atlas.


The documentation for this class was generated from the following file: