{
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"};
}
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.
MeshObject.
Definition MeshObject.c:34
static proto ref Resource Create(int numMeshes, int numVerts[], int numIndices[], string materials[], MeshObjectFlags flags)
proto external void UpdateVerts(int meshIdx, vector verts[], float uv[])
proto external void UpdateIndices(int meshIdx, int indices[])
Object holding reference to resource.
Definition Resource.c:25
proto external BaseResourceObject GetResource()