FBX C++ API Reference
FbxCharacterLink Class Reference

This class represents a link between a given FBX node and the associated node in the character hierarchy. More...

#include <fbxcharacter.h>

Public Types

enum  EType { eCharacterLink, eControlSetLink, eControlSetEffector, eControlSetEffectorAux }
 Character link type. More...
 

Public Member Functions

 FbxCharacterLink ()
 Default Constructor. More...
 
 FbxCharacterLink (const FbxCharacterLink &pCharacterLink)
 Copy Constructor. More...
 
FbxCharacterLinkoperator= (const FbxCharacterLink &pCharacterLink)
 Assignment operation. More...
 
void Reset ()
 Reset to default values. More...
 

Public Attributes

FbxNodemNode
 
FbxString mTemplateName
 The character's node in hierarchy linked to this character link. More...
 
FbxVector4 mOffsetT
 A template name is a naming convention that is used to automatically map the nodes of other skeletons that use the same naming convention. More...
 
FbxVector4 mOffsetR
 Get offset position of this character link. More...
 
FbxVector4 mOffsetS
 Get offset rotation of this character link. More...
 
FbxVector4 mParentROffset
 Get offset scale of this character link. More...
 
bool mHasRotSpace
 Get the parent offset rotation of this character link. More...
 
FbxLimits mRLimits
 true if this character link has a defined rotation space. More...
 
FbxVector4 mPreRotation
 Get the rotation limits of this character link. More...
 
FbxVector4 mPostRotation
 Get the PreRotation of this character link. More...
 
int mRotOrder
 Get the PostRotation of this character link. More...
 
double mAxisLen
 

Detailed Description

This class represents a link between a given FBX node and the associated node in the character hierarchy.

It also contains the transform matrix (offset) for the linked character's node.

Examples:
ImportScene/DisplayPose.cxx.

Definition at line 30 of file fbxcharacter.h.

Member Enumeration Documentation

enum EType

Character link type.

Enumerator
eCharacterLink 
eControlSetLink 
eControlSetEffector 
eControlSetEffectorAux 

Definition at line 34 of file fbxcharacter.h.

Constructor & Destructor Documentation

Default Constructor.

FbxCharacterLink ( const FbxCharacterLink pCharacterLink)

Copy Constructor.

Member Function Documentation

FbxCharacterLink& operator= ( const FbxCharacterLink pCharacterLink)

Assignment operation.

Parameters
pCharacterLinkAnother FbxCharacterLink object assigned to this one.
void Reset ( )

Reset to default values.

Member Data Documentation

FbxNode* mNode

Definition at line 56 of file fbxcharacter.h.

FbxString mTemplateName

The character's node in hierarchy linked to this character link.

Definition at line 57 of file fbxcharacter.h.

FbxVector4 mOffsetT

A template name is a naming convention that is used to automatically map the nodes of other skeletons that use the same naming convention.

Definition at line 58 of file fbxcharacter.h.

FbxVector4 mOffsetR

Get offset position of this character link.

Definition at line 59 of file fbxcharacter.h.

FbxVector4 mOffsetS

Get offset rotation of this character link.

Definition at line 60 of file fbxcharacter.h.

FbxVector4 mParentROffset

Get offset scale of this character link.

Definition at line 61 of file fbxcharacter.h.

bool mHasRotSpace

Get the parent offset rotation of this character link.

Definition at line 62 of file fbxcharacter.h.

FbxLimits mRLimits

true if this character link has a defined rotation space.

Definition at line 63 of file fbxcharacter.h.

FbxVector4 mPreRotation

Get the rotation limits of this character link.

Definition at line 64 of file fbxcharacter.h.

FbxVector4 mPostRotation

Get the PreRotation of this character link.

Definition at line 65 of file fbxcharacter.h.

int mRotOrder

Get the PostRotation of this character link.

Get the rotation order of this character link. Note that, for legacy reasons, this member stores the old rotation order values which still have some enum items that have been deprecated in the FBX SDK. For this reason, it is strongly suggested to use the FromFbxEOrder() and ToFbxEOrder() functions to ensure that the FbxEuler::EOrder enum values are always used when querying or setting this property regardless of how it is internally stored.

Ex: 
   mRotOrder = FbxCharacterLink::FromFbxEOrder(FbxEuler::eOrderXYZ)
   FbxEuler::EOrder order = FbxCharacterLink::ToFbxEOrder(mRotOrder)

Definition at line 80 of file fbxcharacter.h.

double mAxisLen

Definition at line 81 of file fbxcharacter.h.


The documentation for this class was generated from the following file: