FBX SDK how to retrieve user defined object properties

六眼飞鱼酱① 提交于 2019-12-11 10:19:47

问题


3DS MAX offers user-defined field for a node where arbitrary text can be put.

How can I retrieve this text using FBX SDK? I couldn't find any answer in the documentaion.


回答1:


FBX ASCII representation helped a lot. User Defined property is stored in "UDP3DSMAX" FBX property.

Code:

FbxProperty p = m_node->FindProperty("UDP3DSMAX");

if (p.IsValid())
    FbxString str = p.Get<FbxString>();


来源:https://stackoverflow.com/questions/18124397/fbx-sdk-how-to-retrieve-user-defined-object-properties

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!