FbxLayerElementSmoothing Class Reference
 
 
 
FbxLayerElementSmoothing Class Reference

This reference page is linked to from the following overview topics: List of Python Fbx classes.


#include <fbxlayer.h>


Class Description

Layer element for indicating smoothness of components of a geometry.

Remarks:
To be correctly saved in FBX file, this type of Layer element should have its reference mode set to eDirect.
Examples:

Normals/main.cxx.

Definition at line 1987 of file fbxlayer.h.

Inheritance diagram for FbxLayerElementSmoothing:
FbxLayerElementTemplate< int > FbxLayerElement

List of all members.

Public Member Functions

  FBXSDK_FRIEND_NEW ()
void  SetReferenceMode (FbxLayerElement::EReferenceMode pMode)
  Sets the Reference Mode.

Static Public Member Functions

static FbxLayerElementSmoothing Create (FbxLayerContainer *pOwner, const char *pName)
  Allocation method.

Member Function Documentation

FBXSDK_FRIEND_NEW ( )
static FbxLayerElementSmoothing* Create ( FbxLayerContainer pOwner,
const char *  pName 
) [static]

Allocation method.

Parameters:
pOwner The owner of this layer element.
pName The name of this layer element.
Returns:
A pointer to the layer element or NULL if creation fails.
void SetReferenceMode ( FbxLayerElement::EReferenceMode  pMode ) [inline]

Sets the Reference Mode.

Parameters:
pMode Specifies the reference mode.
Remarks:
Only support eDirect.

Reimplemented from FbxLayerElement.

Definition at line 2003 of file fbxlayer.h.

        {
                if( pMode != FbxLayerElement::eDirect )
                {
                        FBX_ASSERT_NOW( "Smoothing layer elements must be direct mapped" );
                        return;
                }
        }

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