FBX SDK how to retrieve user defined object proper

2019-08-10 21:36发布

问题:

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>();


标签: c++ 3dsmax fbx