Check whether the mesh contains a texture coordinate set \param pIndex Index of the texture coordinates set
| 702 | //! Check whether the mesh contains a texture coordinate set |
| 703 | //! \param pIndex Index of the texture coordinates set |
| 704 | bool HasTextureCoords( unsigned int pIndex) const |
| 705 | { |
| 706 | if( pIndex >= AI_MAX_NUMBER_OF_TEXTURECOORDS) |
| 707 | return false; |
| 708 | else |
| 709 | return mTextureCoords[pIndex] != NULL && mNumVertices > 0; |
| 710 | } |
| 711 | |
| 712 | //! Get the number of UV channels the mesh contains |
| 713 | unsigned int GetNumUVChannels() const |