L B Posted December 25, 2009 Posted December 25, 2009 I'm currently studying the GMF format structure and SDK to create my own tools for it. My main concern is to edit the material name, although this is a key (property) in the structure. From the Wiki: ? GMF_SURFACE surface block ? 5 number of kids ? 0 block size 92 GMF_PROPERTIES properties block 0 number of kids 36 block size 1 number of properties "material" property 1 name "concrete01" property 1 value Through the GMF SDK, GMF_PROPERTIES cannot be accessed (not a class) and doesn't have any command attached to it. I'm looking for a way to get something like: string GMFEntityGetProperty(string name); And eventually: void GMFEntitySetProperty(string name); I think this shouldn't be too hard to add, although I know Josh is busy, but perhaps there is another way of doing it. Quote
Masterxilo Posted December 26, 2009 Posted December 26, 2009 GMFNodeSetProperty? Why would you need a GetProperty? The only way properties can be set is by your program... (The GMF sdk creates gmf files, it does not read them, so you can't edit existing files with it.) Quote Hurricane-Eye Entertainment - Site, blog.
L B Posted December 26, 2009 Author Posted December 26, 2009 Too bad, I'd like to edit them. Oh well, that might as well come in a year, so better not found hopes on it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.