Navigation
API > API/Plugins > API/Plugins/CADInterfaces
| Name | FCADFileData |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DatasmithCADImporter/Source/CADInterfaces/Public/CADFileData.h |
| Include Path | #include "CADFileData.h" |
Syntax
class FCADFileData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCADFileData
(
const FImportParameters& InImportParameters, |
CADFileData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsCacheDefined | const bool | CADFileData.h | ||
| BodyMeshes | TArray< FBodyMesh > | CADFileData.h | ||
| CachePath | const FString | CADFileData.h | ||
| FileDescription | FFileDescriptor | CADFileData.h | ||
| GeomFileHash | uint32 | CADFileData.h | ||
| ImportParameters | const FImportParameters | CADFileData.h | ||
| MeshArchiveFile | FString | CADFileData.h | ||
| Messages | TArray< TPair< uint8, FString > > | CADFileData.h | ||
| Record | FImportRecord | CADFileData.h | ||
| SceneFileHash | uint32 | CADFileData.h | ||
| SceneGraphArchive | FArchiveSceneGraph | CADFileData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBodyMesh & AddBodyMesh
(
FCadId BodyId, |
CADFileData.h | ||
FArchiveColor & AddColor
(
FMaterialUId ColorId |
CADFileData.h | ||
FFileDescriptor & AddExternalRef
(
const TCHAR* InFilePath, |
CADFileData.h | ||
FFileDescriptor & AddExternalRef
(
const FFileDescriptor& InFileDescription |
CADFileData.h | ||
FArchiveMaterial & AddMaterial
(
FMaterialUId MaterialId |
CADFileData.h | ||
void ExportMeshArchiveFile() |
CADFileData.h | ||
void ExportSceneGraphFile() |
CADFileData.h | ||
void ExportValidationData() |
CADFileData.h | ||
FArchiveColor * FindColor
(
FMaterialUId ColorId |
CADFileData.h | ||
FArchiveMaterial * FindMaterial
(
FMaterialUId MaterialId |
CADFileData.h | ||
const FString GetBodyCachePath
(
uint32 BodyHash |
CADFileData.h | ||
const TArray< FBodyMesh > & GetBodyMeshes () |
CADFileData.h | ||
TArray< FBodyMesh > & GetBodyMeshes () |
CADFileData.h | ||
const FString GetCachePath() |
CADFileData.h | ||
const FString GetCADCachePath() |
CADFileData.h | ||
const FFileDescriptor & GetCADFileDescription () |
CADFileData.h | ||
| CADFileData.h | |||
FFileDescriptor & GetExternalReferences
(
int32 Index |
CADFileData.h | ||
const TArray< FFileDescriptor > & GetExternalRefSet() |
CADFileData.h | ||
uint32 GetGeomFileHash() |
CADFileData.h | ||
const FImportParameters & GetImportParameters() |
CADFileData.h | ||
const FString GetMeshArchiveFilePath() |
CADFileData.h | ||
const FString & GetMeshFileName() |
CADFileData.h | ||
void GetMeshStatsToCsv
(
int32& FaceCount, |
CADFileData.h | ||
| CADFileData.h | |||
FImportRecord & GetRecord() |
CADFileData.h | ||
uint32 GetSceneFileHash() |
CADFileData.h | ||
| CADFileData.h | |||
const FArchiveSceneGraph & GetSceneGraphArchive () |
CADFileData.h | ||
const FString & GetSceneGraphFileName() |
CADFileData.h | ||
const FString GetSceneGraphFilePath() |
CADFileData.h | ||
uint32 GetStaticMeshHash
(
const int32 BodyId |
Return a unique value that will be used to define the static mesh name | CADFileData.h | |
const FString GetValidationFilePath() |
CADFileData.h | ||
void InitCsvFile() |
CADFileData.h | ||
bool IsCacheDefined() |
CADFileData.h | ||
void LoadSceneGraphArchive() |
CADFileData.h | ||
void LogDisplayMessage
(
const FString& Message |
Logs a message to console (and log file) | CADFileData.h | |
void LogError
(
const FString& Message |
CADFileData.h | ||
void LogMessage
(
const FString& Message |
Logs a message to a log file (does not print to console) | CADFileData.h | |
void LogVerboseMessage
(
const FString& Message |
CADFileData.h | ||
void LogWarning
(
const FString& Message |
CADFileData.h | ||
void ReserveBodyMeshes
(
int32 MaxBodyCount |
CADFileData.h | ||
void SetArchiveNames() |
CADFileData.h | ||
void UpdateExternalRefPath() |
CADFileData.h |