This reference page is linked to from the following overview topics: Your First FBX SDK Program, FBX SDK Object Model, Managing Memory with the FBX SDK Manager, Connections, Nodes and the Scene Graph, FBX Scenes, FBX Nodes, FBX Node Attributes, Instancing - Sharing a Mesh, List of Python FBX classes.
This class is the base class to all types of node attributes.
A node attribute is the content of a node. A NULL
node attribute is set by calling function KFbxNode::SetNodeAttribute() with a
NULL
pointer.
ImportScene/DisplayAnimation.cxx, MyOwnWriterReader/MyOwnReader.cxx, ViewScene/DrawScene.cxx, and ViewScene/InitScene.cxx.
Definition at line 57 of file kfbxnodeattribute.h.
#include <kfbxnodeattribute.h>
Public Types |
|
enum |
EAttributeType { eUNIDENTIFIED, eNULL, eMARKER, eSKELETON, eMESH, eNURB, ePATCH, eCAMERA, eCAMERA_STEREO, eCAMERA_SWITCHER, eLIGHT, eOPTICAL_REFERENCE, eOPTICAL_MARKER, eNURBS_CURVE, eTRIM_NURBS_SURFACE, eBOUNDARY, eNURBS_SURFACE, eSHAPE, eLODGROUP, eSUBDIV, eCACHED_EFFECT, eLINE } |
Node attribute types. More... |
|
Public Member Functions |
|
virtual EAttributeType | GetAttributeType () const |
Return the type of node attribute. |
|
int | GetNodeCount () const |
Return the node count using this attribute.
|
|
KFbxNode * | GetNode (int pIndex=0) const |
Return the node this attribute is set to.
|
|
Public Attributes |
|
KFbxTypedProperty< fbxDouble3 > | Color |
This property handles the color. |
|
Static Public Attributes |
|
static const char * | sColor |
Property Names. |
|
static const fbxDouble3 | sDefaultColor |
Property Default Values. |
|
Protected Member Functions |
|
KFbxNodeAttribute (KFbxSdkManager &pManager, char const *pName) | |
virtual bool | ConstructProperties (bool pForceSet) |
Friends |
|
class | KFbxNode |
class | KFbxScene |
enum EAttributeType |
Node attribute types.
Definition at line 98 of file kfbxnodeattribute.h.
KFbxNodeAttribute | ( | KFbxSdkManager & | pManager, |
char const * | pName | ||
) | [protected] |
virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute.
This class is pure virtual.
Reimplemented in KFbxCachedEffect, KFbxCamera, KFbxCameraStereo, KFbxCameraSwitcher, KFbxGeometry, KFbxLayerContainer, KFbxLight, KFbxLine, KFbxLodGroup, KFbxMarker, KFbxMesh, KFbxNull, KFbxNurb, KFbxNurbsCurve, KFbxNurbsSurface, KFbxOpticalReference, KFbxPatch, KFbxShape, KFbxSkeleton, KFbxSubdiv, KFbxBoundary, and KFbxTrimNurbsSurface.
int GetNodeCount | ( | ) | const |
Return the node count using this attribute.
KFbxNode* GetNode | ( | int | pIndex = 0 |
) | const |
Return the node this attribute is set to.
pIndex | The index of the node to retrieve |
NULL
if the current
attribute is not set to a node.virtual bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from KFbxObject.
Reimplemented in KFbxCachedEffect, KFbxCamera, KFbxCameraStereo, KFbxCameraSwitcher, KFbxGeometryBase, KFbxLight, KFbxLine, KFbxLodGroup, KFbxMarker, KFbxNull, KFbxShape, and KFbxSkeleton.
friend class KFbxNode [friend] |
Reimplemented in KFbxCamera, and KFbxCameraStereo.
Definition at line 153 of file kfbxnodeattribute.h.
friend class KFbxScene [friend] |
Reimplemented from KFbxObject.
Reimplemented in KFbxGeometry, and KFbxLayerContainer.
Definition at line 154 of file kfbxnodeattribute.h.
const char*
sColor [static] |
const fbxDouble3
sDefaultColor [static] |
Property Default Values.
Reimplemented in KFbxLight.
Definition at line 66 of file kfbxnodeattribute.h.
This property handles the color.
Default value is (0.8, 0.8, 0.8)
Reimplemented in KFbxLight.
Definition at line 72 of file kfbxnodeattribute.h.