FbxNodeAttribute Class Reference
 
 
 
FbxNodeAttribute Class Reference

#include <fbxnodeattribute.h>


Class Description

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.

Examples:

ImportScene/DisplayAnimation.cxx, MyOwnWriterReader/MyOwnReader.cxx, ViewScene/DrawScene.cxx, and ViewScene/SceneContext.cxx.

Definition at line 29 of file fbxnodeattribute.h.

Inheritance diagram for FbxNodeAttribute:
FbxObject FbxEmitter FbxCachedEffect FbxCamera FbxCameraSwitcher FbxLayerContainer FbxLight FbxLODGroup FbxMarker FbxNull FbxOpticalReference FbxSkeleton

List of all members.

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.

Member Enumeration Documentation

enum EType

Node attribute types.

  • eUnknown
  • eNull
  • eMarker
  • eSkeleton
  • eMesh
  • eNurbs
  • ePatch
  • eCamera
  • eCameraStereo,
  • eCameraSwitcher
  • eLight
  • eOpticalReference
  • eOpticalMarker
  • eNurbsCurve
  • eTrimNurbsSurface
  • eBoundary
  • eNurbsSurface
  • eShape
  • eLODGroup
  • eSubDiv
  • eCachedEffect
  • eLine
Enumerator:
eUnknown 
eNull 
eMarker 
eSkeleton 
eMesh 
eNurbs 
ePatch 
eCamera 
eCameraStereo 
eCameraSwitcher 
eLight 
eOpticalReference 
eOpticalMarker 
eNurbsCurve 
eTrimNurbsSurface 
eBoundary 
eNurbsSurface 
eShape 
eLODGroup 
eSubDiv 
eCachedEffect 
eLine 

Reimplemented in FbxLight, FbxMarker, FbxNurbs, FbxNurbsCurve, FbxNurbsSurface, FbxPatch, and FbxSkeleton.

Definition at line 70 of file fbxnodeattribute.h.


Member Function Documentation

int GetNodeCount ( ) const

Return the node count using this attribute.

Returns:
The count of nodes with this attribute set.
Examples:
Instances/main.cxx.
FbxNode* GetNode ( int  pIndex = 0 ) const

Return the node this attribute is set to.

Parameters:
pIndex The index of the node to retrieve
Returns:
Pointer to the node, or NULL if the current attribute is not set to a node.
Examples:
ExportScene03/main.cxx, ImportScene/DisplayMaterial.cxx, ImportScene/DisplayMesh.cxx, ImportScene/DisplayTexture.cxx, UI_Examples/CubeCreator/SDK_Utility.cxx, ViewScene/DrawScene.cxx, ViewScene/SceneCache.cxx, and ViewScene/SetCamera.cxx.

Member Data Documentation

const char* sColor [static]

Property Names.

Definition at line 35 of file fbxnodeattribute.h.

const FbxDouble3 sDefaultColor [static]

Property Default Values.

Definition at line 38 of file fbxnodeattribute.h.

This property handles the color.

Default value is (0.8, 0.8, 0.8)

Reimplemented in FbxLight.

Examples:
ImportScene/DisplayAnimation.cxx, and ImportScene/DisplayMarker.cxx.

Definition at line 44 of file fbxnodeattribute.h.


The documentation for this class was generated from the following file: