Classes used include FBCharacter, FBActor and FBMarkerSet.
You can use scripts to connect motion
data to an actor:
- Create an actor with FBActor.
- Use functions in FBActor to
set the actor’s body color, skeleton color, pivot color, marker
size, pivot size, pivot information, etc.
- Translate, rotate, and scale the actor
to fit a marker cloud with FBActor::SetActorTranslation, FBActor::SetDefinitionRotationVector,
and FBActor::SetDefinitionScaleVector.
- Attach a marker set to an actor with FBMarkerSet::FBMarkerSet.
- Set offsets with FBMarkerSet::SetMarkerTOffset and
oriented flag with FBMarkerSet::SetMarkerOriented.
- Apply the markers to the markerset. You
must use the enum pyfbsdk::FBSkeletonNodeId to
specify the node id in the markerset.
- Set active (snap/lock/etc.) with functions
in FBActor.