Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / Where is GetAnimStack ?
  RSS 2.0 ATOM  

Where is GetAnimStack ?
Rate this thread
 
43554
 
Permlink of this thread  
avatar
  • Total Posts: 38
  • Joined: 05 February 2009 04:40 AM

KFbxDocument::CreateAnimStack(name) will create an animation stack. However, how do I get the KFbxAnimStack object that it created?

I.e. where is something like KFbxDocument::GetAnimStack(name). Am I missing something?



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

You may access all animstack in this way:
for (i = 0; i < pScene->GetSrcObjectCount(FBX_TYPE(KFbxAnimStack)) i++)
{
KFbxAnimStack* lAnimStack = KFbxCast<KFbxAnimStack>(pScene->GetSrcObject(FBX_TYPE(KFbxAnimStack), i))
...
}

Author: Jiayang Xu

Replied: 24 May 2010 02:34 PM