#include "DisplayPose.h"
{
int i,j,k,lPoseCount;
for (i = 0; i < lPoseCount; i++)
{
DisplayString(
"Pose Name: ", lName.
Buffer());
DisplayBool(
" Is a bind pose: ", lPose->
IsBindPose());
DisplayInt(
" Number of items in the pose: ", lPose->
GetCount());
DisplayString("","");
{
DisplayString(
" Item name: ", lName.
Buffer());
{
DisplayBool(
" Is local space matrix: ", lPose->
IsLocalMatrix(j));
}
DisplayString(" Matrix value: ","");
for (k=0; k<4; k++)
{
char lRowValue[1024];
FBXSDK_sprintf(lRowValue, 1024, "%9.4f %9.4f %9.4f %9.4f\n", lRow[0], lRow[1], lRow[2], lRow[3]);
}
DisplayString(
"", lMatrixValue.
Buffer());
}
}
for (i = 0; i < lPoseCount; i++)
{
if (!lCharacter) break;
DisplayString(
"Character Pose Name: ", lCharacter->
GetName());
{
DisplayString(" Matrix value: ","");
for (k=0; k<4; k++)
{
char lRowValue[1024];
FBXSDK_sprintf(lRowValue, 1024, "%9.4f %9.4f %9.4f %9.4f\n", lRow[0], lRow[1], lRow[2], lRow[3]);
}
DisplayString(
"", lMatrixValue.
Buffer());
}
}
}