cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCTiledGrid3D Class Reference

#import <CCGrid.h>

+ Inheritance diagram for CCTiledGrid3D:
+ Collaboration diagram for CCTiledGrid3D:

List of all members.

Public Member Functions

(ccQuad3- tile:
(ccQuad3- originalTile:
(void) - setTile:coords:

Protected Attributes

GLvoid * _texCoordinates
GLvoid * _vertices
GLvoid * _originalVertices
GLushort * _indices

Detailed Description

CCTiledGrid3D is a 3D grid implementation. It differs from Grid3D in that the tiles can be separated from the grid.

Member Function Documentation

- (ccQuad3) originalTile: (CGPoint)  pos

returns the original tile (untransformed) at the given position

- (void) setTile: (CGPoint)  pos
coords: (ccQuad3 coords 

sets a new tile

- (ccQuad3) tile: (CGPoint)  pos

returns the tile at the given position

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