#include<kfbxnodeattribute.h>
A node attribute is the content of a node. ANULLnode attribute is set by calling functionKFbxNode::SetNodeAttribute()with aNULLpointer.
Definition at line67of filekfbxnodeattribute.h.
Property Default Values | |
| enum | EAttributeType |
| static const fbxDouble3 | sDefaultColor |
| KFbxTypedProperty<fbxDouble3> | Color |
| This property handles the color. | |
| virtual EAttributeType | GetAttributeType() const |
| Return the type of node attribute. | |
| KFbxNode* | GetNode() const |
| Return the node this attribute is set to. | |
Property Names | |
| static const char * | sColor |
Properties | |
| K_DEPRECATED void | SetColor(KFbxColorconst&pColor) |
| Set color. | |
| K_DEPRECATEDKFbxColor | GetColor() const |
| Get marker color. | |
Public Member Functions | |
| virtualKFbxObject* | Clone(KFbxObject*pContainer,KFbxObject::ECloneTypepCloneType) const |
| Creates a clone of this object. | |
| virtual EAttributeType GetAttributeType | ( | ) | const[inline, virtual] |
Return the type of node attribute.
This class is pure virtual.
Reimplemented inKFbxCamera,KFbxCameraSwitcher,KFbxGeometry,KFbxLayerContainer,KFbxLight,KFbxMarker,KFbxMesh,KFbxNull,KFbxNurb,KFbxNurbsCurve,KFbxNurbsSurface,KFbxOpticalReference,KFbxPatch,KFbxSkeleton,KFbxBoundary, andKFbxTrimNurbsSurface.
Definition at line122of filekfbxnodeattribute.h.
| KFbxNode* GetNode | ( | ) | const |
Return the node this attribute is set to.
NULLif the current attribute is not set to a node.| K_DEPRECATED void SetColor | ( | KFbxColorconst& | pColor | ) |
Set color.
| pColor | The color used to draw the node attribute. |
Deprecated. Use the Color property.
| K_DEPRECATEDKFbxColorGetColor | ( | ) | const |
Get marker color.
Deprecated. Use the Color property.
| virtualKFbxObject* Clone | ( | KFbxObject* | pContainer, | |
| KFbxObject::ECloneType | pCloneType | |||
| ) | const[virtual] |
Creates a clone of this object.
| pContainer | The object, typically a document or scene, that will contain the new clone. Can be NULL. | |
| pCloneType | The type of clone to create |
Reimplemented fromKFbxObject.
Reimplemented inKFbxGeometry,KFbxNurbsCurve, andKFbxProceduralGeometry.
| KFbxTypedProperty<fbxDouble3>Color |
This property handles the color.
Default value is (0.8, 0.8, 0.8)
Reimplemented inKFbxLight.
Definition at line92of filekfbxnodeattribute.h.