Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
MeshData Struct Reference

Mesh data. More...

Public Member Functions

int getPerVertexSize () const
 Get per vertex size.
 
var getPerVertexSize ()
 Get per vertex size.
 
local getPerVertexSize ()
 Get per vertex size.
 
void resetData ()
 Reset the data.
 
local resetData ()
 Reset the data.
 
 MeshData ()
 Constructor.
 
 MeshData ()
 Constructor.
 
 ~MeshData ()
 Destructor.
 
 ~MeshData ()
 Destructor.
 
 ~MeshData ()
 Destructor.
 

Public Attributes

std::vector< float > vertex
 The vertices list.
 
var vertex
 The vertices list.
 
local vertex
 The vertices list.
 
int vertexSizeInFloat
 The vertex size in float data type. More...
 
var vertexSizeInFloat
 The vertex size in float data type. More...
 
local vertexSizeInFloat
 The vertex size in float data type. More...
 
std::vector< IndexArray > subMeshIndices
 Sub meshes' indices list.
 
var subMeshIndices
 Sub meshes' indices list.
 
local subMeshIndices
 Sub meshes' indices list.
 
std::vector< std::string > subMeshIds
 Sub meshes' ID list.
 
var subMeshIds
 Sub meshes' ID list.
 
local subMeshIds
 Sub meshes' ID list.
 
std::vector< AABBsubMeshAABB
 Sub meshes' AABB list.
 
local subMeshAABB
 Sub meshes' AABB list.
 
int numIndex
 The Size of indices List. More...
 
var numIndex
 The Size of indices List. More...
 
local numIndex
 The Size of indices List. More...
 
std::vector< MeshVertexAttribattribs
 The vertex attribute lists.
 
var attribs
 The vertex attribute lists.
 
local attribs
 The vertex attribute lists.
 
int attribCount
 The amount of the attributes.
 
var attribCount
 The amount of the attributes.
 
local attribCount
 The amount of the attributes.
 

Detailed Description

Mesh data.

Member Data Documentation

int vertexSizeInFloat

The vertex size in float data type.

顶点大小,以float数据类型计

var vertexSizeInFloat

The vertex size in float data type.

顶点大小,以float数据类型计

local vertexSizeInFloat

The vertex size in float data type.

顶点大小,以float数据类型计

int numIndex

The Size of indices List.

索引数组的大小

var numIndex

The Size of indices List.

索引数组的大小

local numIndex

The Size of indices List.

索引数组的大小


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