KFbxNodeAttribute
#include<kfbxnodeattribute.h>

Inheritance diagram for KFbxNodeAttribute:

Inheritance graph
[legend]

List of all members.

Detailed Description

This class is the base class to all types of node attributes.

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.
KFbxNodeGetNode() 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

virtualKFbxObjectClone(KFbxObject*pContainer,KFbxObject::ECloneTypepCloneType) const
 Creates a clone of this object.

Member Function Documentation

virtual EAttributeType GetAttributeType( ) const[inline, virtual]

KFbxNode* GetNode( ) const

Return the node this attribute is set to.

Returns:
Pointer to the node, orNULLif the current attribute is not set to a node.

K_DEPRECATED void SetColor(KFbxColorconst& pColor ) 

Set color.

Parameters:
pColor The color used to draw the node attribute.
Remarks:
This property can be used by the node attribute for its wireframe representation or to define its color if there are no materials connected. Only the node attribute of type eMARKER use this property. This value persists in the FBX file so third party plug-ins may use it for their specific needs.

Deprecated. Use the Color property.

K_DEPRECATEDKFbxColorGetColor( ) const

Get marker color.

Returns:
The node attribute color property. The default value, if no call to SetColor has been made, is RGB(0.8, 0.8, 0.8).
Remarks:
This property can be used by the node attribute for its wireframe representation or to define its color in the case that no materials are connected to it. For now, only the node attribute of type eMARKER use this property. This value is persisten in the FBX file so third party plug-ins can use it for their specific needs.

Deprecated. Use the Color property.

virtualKFbxObject* Clone(KFbxObjectpContainer,
KFbxObject::ECloneType pCloneType 
)const[virtual]

Creates a clone of this object.

Parameters:
pContainer The object, typically a document or scene, that will contain the new clone. Can be NULL.
pCloneType The type of clone to create
Returns:
The new clone, or NULL if the specified clone type is not supported.

Reimplemented fromKFbxObject.

Reimplemented inKFbxGeometry,KFbxNurbsCurve, andKFbxProceduralGeometry.

Member Data Documentation

KFbxTypedProperty<fbxDouble3>Color

This property handles the color.

Default value is (0.8, 0.8, 0.8)

Reimplemented inKFbxLight.

Definition at line92of filekfbxnodeattribute.h.