CCTMXTilesetInfo
CCTMXTilesetInfo
Cocos2DInheritance: System.Object
Constructors
CCTMXTilesetInfo()
CCTMXTilesetInfo()()
Fields
m_sName(System.String)
The name of this tileset.
m_sSourceImage(System.String)
filename containing the tiles (should be spritesheet / texture atlas)
m_tImageSize(Cocos2D.CCSize)
size in pixels of the image
m_tTileSize(Cocos2D.CCSize)
The size of this tile in unscaled pixels
m_uFirstGid(System.UInt32)
m_uMargin(System.Int32)
the margin/border around the tilesheer
m_uSpacing(System.Int32)
Spacing between the tiles in the tilesheet
Methods
RectForGID(uint)
Cocos2D.CCRect RectForGID(uint)(System.UInt32 gid)
Parameters:
gid
(System.UInt32)Returns:
Cocos2D.CCRect