About Store Forum Documentation Contact
Donations:
392$/mo



Post Reply 
Materials Names
Author Message
Corrado Offline
Member

Post: #1
Materials Names
Hello,

after loading a mesh file may i know how obtain the names of the materials of the mesh ?
(from the mesh i obtain "mesh.part(i).material[0]" but I tried in material.h and i have not found anything)

Tks,
Corrado
03-30-2009 07:51 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
Re: Materials Names
please use 'Materials' cache like this
Char *name=Materials(mesh.part(i).material[0]);
03-30-2009 07:57 PM
Find all posts by this user Quote this message in a reply
Corrado Offline
Member

Post: #3
Re: Materials Names
Tks
Corrado
03-30-2009 10:37 PM
Find all posts by this user Quote this message in a reply
Post Reply