Navigation
API > API/Developer > API/Developer/DatasmithFacade
| Name | FDatasmithFacadeMetaData |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeMetaData.h |
| Include Path | #include "DatasmithFacadeMetaData.h" |
Syntax
class FDatasmithFacadeMetaData : public FDatasmithFacadeElement
Inheritance Hierarchy
- FDatasmithFacadeElement → FDatasmithFacadeMetaData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeMetaData
(
const TCHAR* InElementName |
DatasmithFacadeMetaData.h | ||
FDatasmithFacadeMetaData
(
const TSharedRef< IDatasmithMetaDataElement >& InMetaDataElement |
DatasmithFacadeMetaData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddProperty
(
const FDatasmithFacadeKeyValueProperty* InProperty |
DatasmithFacadeMetaData.h | ||
void AddPropertyBoolean
(
const TCHAR* InPropertyName, |
Add a property boolean property to the Datasmith actor. | DatasmithFacadeMetaData.h | |
void AddPropertyColor
(
const TCHAR* InPropertyName, |
Add a property sRGBA color property to the Datasmith actor. | DatasmithFacadeMetaData.h | |
void AddPropertyFloat
(
const TCHAR* InPropertyName, |
Add a property float property to the Datasmith actor. | DatasmithFacadeMetaData.h | |
void AddPropertyString
(
const TCHAR* InPropertyName, |
Add a property string property to the Datasmith actor. | DatasmithFacadeMetaData.h | |
void AddPropertyTexture
(
const TCHAR* InPropertyName, |
Add a property texture property to the Datasmith actor. | DatasmithFacadeMetaData.h | |
void AddPropertyVector
(
const TCHAR* InPropertyName, |
Add a property vector property to the Datasmith actor. | DatasmithFacadeMetaData.h | |
TSharedRef< IDatasmithMetaDataElement > GetDatasmithMetaDataElement() |
DatasmithFacadeMetaData.h | ||
FDatasmithFacadeKeyValueProperty * GetNewProperty
(
int32 PropertyIndex |
Returns a new FDatasmithFacadeKeyValueProperty pointing to the KeyValueProperty at the given index, the returned value must be deleted after used, can be nullptr. | DatasmithFacadeMetaData.h | |
int32 GetPropertiesCount() |
Get the total amount of properties in this meta data. | DatasmithFacadeMetaData.h | |
void RemoveProperty
(
const FDatasmithFacadeKeyValueProperty* Property |
Remove the property from this meta data | DatasmithFacadeMetaData.h | |
void ResetProperties() |
Remove all properties in this meta data | DatasmithFacadeMetaData.h | |
void SetAssociatedElement
(
const FDatasmithFacadeElement* Element |
Sets the Datasmith element that is associated with this meta data | DatasmithFacadeMetaData.h |