#include "DisplayCommon.h"
void DisplayGenericInfo(
FbxNode* pNode,
int pDepth);
void DisplayGenericInfo(
FbxScene* pScene)
{
int i;
{
DisplayGenericInfo(lRootNode->
GetChild(i), 0);
}
{
}
}
void DisplayGenericInfo(
FbxNode* pNode,
int pDepth)
{
int i;
for(i = 0; i < pDepth; i++)
{
lString += " ";
}
lString += "\n";
DisplayString(lString.
Buffer());
DisplayProperties(pNode);
DisplayString("");
{
DisplayGenericInfo(pNode->
GetChild(i), pDepth + 1);
}
}
{
DisplayString(
"Name: ", (
char *)pObject->
GetName());
int i, lCount = 0;
{
lCount++;
}
if (lCount == 0)
return;
DisplayInt(lTitleStr.
Buffer(), lCount);
i=0;
{
DisplayInt(" Property ", i);
DisplayString(
" Display Name: ", lString.
Buffer());
DisplayString(" Internal Name: ", lString.Buffer());
DisplayString(" Type: ",lString.Buffer());
{
DisplayBool(
" Default Value: ", lProperty.
Get<
FbxBool>());
break;
DisplayDouble(
" Default Value: ", lProperty.
Get<
FbxDouble>());
break;
{
char lBuf[64];
FBXSDK_sprintf(lBuf, 64,
"R=%f, G=%f, B=%f, A=%f", lDefault.
mRed, lDefault.
mGreen, lDefault.
mBlue, lDefault.
mAlpha);
DisplayString(" Default Value: ", lBuf);
}
break;
DisplayInt(
" Default Value: ", lProperty.
Get<
FbxInt>());
break;
{
char lBuf[64];
FBXSDK_sprintf(lBuf, 64, "X=%f, Y=%f, Z=%f", lDefault[0], lDefault[1], lDefault[2]);
DisplayString(" Default Value: ", lBuf);
}
break;
DisplayDouble(
" Default Value: ", lProperty.
Get<
FbxFloat>());
break;
DisplayString(" Default Value: ", lString.Buffer());
break;
default:
DisplayString(" Default Value: UNIDENTIFIED");
break;
}
i++;
}
}