سؤال

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

enter image description here

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

هل كانت مفيدة؟

المحلول

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>();
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top