- Main Page
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Attributes

# FbxSemanticEntryView Class Reference

Search for all occurrences

## Detailed Description

FbxSemanticEntryView stores a binding corresponding to a semantic within a shader file.

A shader semantic is a parameter, a constant or an operator. So a shader semantic could bind with FbxProperty ( parameter, constant) and FbxBindingOperator (operator).

Here is a code snippet to show how it used.

     FbxProperty lProp;
     FbxBindingTable lTable;
     FbxBindingTableEntry& lEntry = lBindingTable.AddNewEntry();
     FbxPropertyEntryView lSrcView( lEntry, true, true);
     lSrcView.SetProperty( lProp.GetHierarchicalName());
     FbxSemanticEntryView lDstView( &pEntry, false, true );
     lDstView.SetSemantic( lProp.Getname());

See also:
  FbxBindingTableEntry and FbxBindingTable.

Definition at line 42 of file fbxsemanticentryview.h.

`#include <fbxsemanticentryview.h>`

Inheritance diagram for FbxSemanticEntryView:
[legend]

List of all members.

## Public Member Functions
void | SetSemantic (const char *pSemantic)
| Set the semantic to the binding entry.
FbxString | GetSemantic (bool pAppendIndex=true) const
| Get the semantic from the binding entry.
int | GetIndex () const
| Get the semantic index suffix.
virtual const char * | EntryType () const
| Get the entry type.
## Static Public Attributes
static const char * | sEntryType
| Name of the entry type used in the binding entry.
## Constructor and Destructor.
| FbxSemanticEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false)
| Constructor.
virtual | ~FbxSemanticEntryView ()
| Destructor.

## Constructor & Destructor Documentation

FbxSemanticEntryView | ( | FbxBindingTableEntry * | pEntry,
|  | bool | pAsSource,
|  | bool | pCreate = `false`
| ) |  |

Constructor.

Parameters:

  pEntry | The binding table entry to create the entry view for.
  pAsSource | `true` to create the entry view as source, `false` as destination.
  pCreate | `true` to create the entry view, `false` otherwise.

virtual ~FbxSemanticEntryView | ( |  | ) | `[virtual]`

Destructor.

## Member Function Documentation

void SetSemantic | ( | const char * | pSemantic | ) |

Search for all occurrences

Set the semantic to the binding entry.

Parameters:

  pSemantic | The semantic string to set.

FbxString GetSemantic | ( | bool | pAppendIndex = `true` | ) | const

Search for all occurrences

Get the semantic from the binding entry.

Parameters:

  pAppendIndex | `true` if the returned semantic append a index, `false` otherwise.

Returns:
  The semantic.

int GetIndex | ( |  | ) | const

Search for all occurrences

Get the semantic index suffix.

Returns:
  Semantic index suffix.

virtual const char* EntryType | ( |  | ) | const`[virtual]`

Search for all occurrences

Get the entry type.

Returns:
  Entry type as string "FbxSemanticEntry".

Remarks:
  Always use EntryType() to get the right entry type.

Reimplemented from FbxEntryView.

## Member Data Documentation

const char* sEntryType`[static]`

Search for all occurrences

Name of the entry type used in the binding entry.

It should be "FbxSemanticEntry" in this case.

Reimplemented from FbxEntryView.

Definition at line 49 of file fbxsemanticentryview.h.

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

- fbxsdk/scene/shading/fbxsemanticentryview.h

FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView
FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView FbxSemanticEntryView