{
float uvs[6] = {0.0,0.0, 1.0,0.0, 0.0,1.0};
int indices[3] = {0,1,2};
int numVertices[] = {3};
int numIndices[] = {3};
string materials[] = {"{726C1969B0B78245}defMat.emat"};
Resource res = MeshObject.Create(1, numVertices, numIndices, materials, 0);
}
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
proto external MeshObject ToMeshObject()
proto external void SetObject(VObject object, string options)
Sets the visual object to this entity.
proto external void UpdateVerts(int meshIdx, vector verts[], float uv[])
proto external void UpdateIndices(int meshIdx, int indices[])
proto external BaseResourceObject GetResource()