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 line59of filekfbxnodeattribute.h.


Properties

K_DEPRECATED void SetColor(KFbxColorconst&pColor)
 Set color.
K_DEPRECATEDKFbxColor GetColor() const
 Get marker color.

Public Types

enum EAttributeType
 Node attribute types.More...

Public Member Functions

virtualEAttributeType GetAttributeType() const
 Return the type of node attribute.
KFbxNodeGetNode() const
 Return the node this attribute is set to.
virtualKFbxObjectClone(KFbxObject*pContainer,KFbxObject::ECloneTypepCloneType) 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.

Member Enumeration Documentation

Node attribute types.

  • eUNIDENTIFIED
  • eNULL
  • eMARKER
  • eSKELETON
  • eMESH
  • eNURB
  • ePATCH
  • eCAMERA
  • eCAMERA_SWITCHER
  • eLIGHT
  • eOPTICAL_REFERENCE
  • eOPTICAL_MARKER
  • eNURBS_CURVE
  • eTRIM_NURBS_SURFACE
  • eBOUNDARY
  • eNURBS_SURFACE
  • eSHAPE
  • eLODGROUP

Definition at line108of filekfbxnodeattribute.h.

Member Function Documentation

virtualEAttributeTypeGetAttributeType( ) 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

const char*sColor[static]

Property Names.

Reimplemented inKFbxLight.

Definition at line67of filekfbxnodeattribute.h.

const fbxDouble3sDefaultColor[static]

Property Default Values.

Reimplemented inKFbxLight.

Definition at line72of filekfbxnodeattribute.h.

KFbxTypedProperty<fbxDouble3>Color

This property handles the color.

Default value is (0.8, 0.8, 0.8)

Reimplemented inKFbxLight.

Definition at line84of filekfbxnodeattribute.h.