Navigation
API > API/Developer > API/Developer/DatasmithFacade
| Name | FDatasmithFacadeActorMesh |
| Type | class |
| Header File | /Engine/Source/Developer/Datasmith/DatasmithFacade/Public/DatasmithFacadeActorMesh.h |
| Include Path | #include "DatasmithFacadeActorMesh.h" |
Syntax
class FDatasmithFacadeActorMesh : public FDatasmithFacadeActor
Inheritance Hierarchy
- FDatasmithFacadeElement → FDatasmithFacadeActor → FDatasmithFacadeActorMesh
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDatasmithFacadeActorMesh
(
const TCHAR* InElementName |
DatasmithFacadeActorMesh.h | ||
FDatasmithFacadeActorMesh
(
const TSharedRef< IDatasmithMeshActorElement >& InInternalElement |
DatasmithFacadeActorMesh.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDatasmithFacadeActorMesh() |
DatasmithFacadeActorMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMaterialOverride
(
FDatasmithFacadeMaterialID& Material |
Adds a new material override to the Actor Element. | DatasmithFacadeActorMesh.h | |
void AddMaterialOverride
(
const TCHAR* MaterialName, |
Adds a new material override to the Actor Element. | DatasmithFacadeActorMesh.h | |
TSharedRef< IDatasmithMeshActorElement > GetDatasmithMeshActorElement() |
DatasmithFacadeActorMesh.h | ||
int32 GetMaterialOverridesCount() |
Get the amount of material overrides on this mesh. | DatasmithFacadeActorMesh.h | |
const TCHAR * GetMeshName() |
Get the name of the StaticMesh associated with the actor. | DatasmithFacadeActorMesh.h | |
FDatasmithFacadeMaterialID * GetNewMaterialOverride
(
int32 MaterialOverrideIndex |
Returns a new FDatasmithFacadeMaterialID pointing to the i-th material override of this actor. | DatasmithFacadeActorMesh.h | |
void RemoveMaterialOverride
(
FDatasmithFacadeMaterialID& Material |
Remove material from the Actor Element. | DatasmithFacadeActorMesh.h | |
void ResetMaterialOverrides() |
Remove all material overrides from the Actor Element. | DatasmithFacadeActorMesh.h | |
void SetMesh
(
const TCHAR* InMeshName |
Set the static mesh of the Datasmith mesh actor. | DatasmithFacadeActorMesh.h |