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, Transformation Data, 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 FbxNode::SetNodeAttribute() with a
NULL pointer.
ImportScene/DisplayAnimation.cxx, MyOwnWriterReader/MyOwnReader.cxx, ViewScene/DrawScene.cxx, and ViewScene/SceneContext.cxx.
Definition at line 32 of file fbxnodeattribute.h.
#include <fbxnodeattribute.h>

Public Types |
|
| enum | EType
{ eUnknown, eNull, eMarker, eSkeleton, eMesh, eNurbs, ePatch, eCamera, eCameraStereo, eCameraSwitcher, eLight, eOpticalReference, eOpticalMarker, eNurbsCurve, eTrimNurbsSurface, eBoundary, eNurbsSurface, eShape, eLODGroup, eSubDiv, eCachedEffect, eLine } |
|
Node attribute types. More... |
|
Public Member Functions |
|
| virtual FbxNodeAttribute::EType | GetAttributeType () const |
| Return the type of node attribute. |
|
| int | GetNodeCount () const |
| Return the node count using this attribute.
|
|
| FbxNode * | GetNode (int pIndex=0) const |
| Return the node this attribute is set to.
|
|
Public Attributes |
|
| FbxPropertyT< 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 |
|
| FbxNodeAttribute (FbxManager &pManager, char const *pName) | |
| virtual bool | ConstructProperties (bool pForceSet) |
Friends |
|
| class | FbxNode |
| class | FbxScene |
| enum EType |
Node attribute types.
Reimplemented in FbxLight, FbxMarker, FbxNurbs, FbxNurbsCurve, FbxNurbsSurface, FbxPatch, and FbxSkeleton.
Definition at line 73 of file fbxnodeattribute.h.
| FbxNodeAttribute | ( | FbxManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
| virtual FbxNodeAttribute::EType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute.
This class is pure virtual.
Reimplemented in FbxCachedEffect, FbxCamera, FbxCameraStereo, FbxCameraSwitcher, FbxGeometry, FbxLayerContainer, FbxLight, FbxLine, FbxLODGroup, FbxMarker, FbxMesh, FbxNull, FbxNurbs, FbxNurbsCurve, FbxNurbsSurface, FbxOpticalReference, FbxPatch, FbxShape, FbxSkeleton, FbxSubDiv, FbxBoundary, and FbxTrimNurbsSurface.
| int GetNodeCount | ( | ) | const |
Return the node count using this attribute.
| FbxNode* 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 FbxObject.
Reimplemented in FbxCachedEffect, FbxCamera, FbxCameraStereo, FbxCameraSwitcher, FbxGeometryBase, FbxLight, FbxLine, FbxLODGroup, FbxMarker, FbxNull, FbxShape, and FbxSkeleton.
friend class FbxNode [friend] |
Reimplemented in FbxCamera, and FbxCameraStereo.
Definition at line 128 of file fbxnodeattribute.h.
friend class FbxScene [friend] |
Reimplemented from FbxObject.
Reimplemented in FbxGeometry, and FbxLayerContainer.
Definition at line 129 of file fbxnodeattribute.h.
const char* sColor
[static] |
const FbxDouble3
sDefaultColor [static] |
Property Default Values.
Definition at line 41 of file fbxnodeattribute.h.
This property handles the color.
Default value is (0.8, 0.8, 0.8)
Reimplemented in FbxLight.
Definition at line 47 of file fbxnodeattribute.h.