【问题标题】:Is is possible to iterate over the FbxProperties of an object that are not 'built in'是否可以迭代非“内置”对象的 FbxProperties
【发布时间】:2017-12-16 14:13:31
【问题描述】:

可以在 FbxObjects 中内置属性(例如 LclTranslation 上的 FbxNode)或动态添加。

我知道GetDstPropertyCount()GetDstProperty(int pIndex=0),但我相信这也会返回“内置”属性。

是否可以只对不是“内置”的FbxPropertys 进行FbxObject 迭代?

【问题讨论】:

    标签: c++ autodesk fbx


    【解决方案1】:

    【讨论】:

    • 谢谢。但是您链接的示例使用GetFirstPropertyGetNextProperty 并且规范并没有说那些不包括“内置”属性(就像我在问题中链接的GetDstPropertyCountGetDstProperty
    • @Baggers,这个例子有一个检查if (lProperty.GetFlag(FbxPropertyFlags::eUserDefined)),所以你可以过滤用户属性。
    • :facepalm: 我怎么能错过呢?非常感谢您为我解决这个问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-04-09
    • 1970-01-01
    • 1970-01-01
    • 2013-07-13
    • 1970-01-01
    • 2020-11-27
    • 2014-07-28
    相关资源
    最近更新 更多