#include <kfbxnodeattribute.h>
A node attribute is the content of a node. A NULL
node attribute is set by calling function KFbxNode::SetNodeAttribute() with a
NULL
pointer.
Definition at line 57 of file 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 } |
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.
|
|
virtual KFbxObject * | Clone (KFbxObject *pContainer, KFbxObject::ECloneType pCloneType) const |
Creates a clone of this object. |
|
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. |
enum EAttributeType |
Node attribute types.
Definition at line 96 of file kfbxnodeattribute.h.
virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute.
This class is pure virtual.
Reimplemented in KFbxCamera, KFbxCameraStereo, KFbxCameraSwitcher, KFbxGeometry, KFbxLayerContainer, KFbxLight, KFbxLodGroup, KFbxMarker, KFbxMesh, KFbxNull, KFbxNurb, KFbxNurbsCurve, KFbxNurbsSurface, KFbxOpticalReference, KFbxPatch, KFbxSkeleton, KFbxSubdiv, KFbxBoundary, and KFbxTrimNurbsSurface.
int GetNodeCount | ( | ) | const |
Return the node count using this attribute.
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 KFbxObject* Clone | ( | KFbxObject * | pContainer, | |
KFbxObject::ECloneType | pCloneType | |||
) | const [virtual] |
Creates a clone of this object.
pContainer | The object, typically a document or a scene, that contains the new clone(can be NULL). | |
pCloneType | The type of clone to be created. |
Reimplemented from KFbxObject.
Reimplemented in KFbxGeometry, KFbxMesh, and KFbxProceduralGeometry.
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.