IncludeMaterial
IncludeMaterial
#Overview
name: IncludeMaterial
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Plugins/Enterprise/DatasmithImporter/Config/BaseDatasmithImporter.ini:14, section: [FileProducerImportOptions]
- INI Section:
FileProducerImportOptions
- Raw value:
True
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithOpenNurbsTranslator/Private/DatasmithOpenNurbsTranslator.cpp:2184
Scope (from outer to inner):
file
function TSharedPtr<IDatasmithMeshElement> FOpenNurbsTranslatorImpl::GetMeshElement
Source code excerpt:
MeshElementToTranslatorMap.Add(MeshElement.Get(), this);
uint8 IncludeMaterial = static_cast<uint8>(BaseOptions.bIncludeMaterial);
FMD5 MD5;
MD5.Update(&IncludeMaterial, sizeof(IncludeMaterial));
// Use the object's CRC as the mesh element hash
uint32 CRC = Object.ObjectPtr->DataCRC(0);
if (ON_Brep::Cast(Object.ObjectPtr))
{
CRC ^= OpenNurbsOptionsHash;
#Loc: <Workspace>/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithFileProducer.cpp:1950
Scope (from outer to inner):
file
function void UDatasmithFileProducer::LoadDefaultSettings
Source code excerpt:
{
GConfig->GetBool( ImportSectionName, TEXT("IncludeGeometry"), DefaultImportOptions.bIncludeGeometry, DatasmithImporterIni);
GConfig->GetBool( ImportSectionName, TEXT("IncludeMaterial"), DefaultImportOptions.bIncludeMaterial, DatasmithImporterIni);
GConfig->GetBool( ImportSectionName, TEXT("IncludeLight"), DefaultImportOptions.bIncludeLight, DatasmithImporterIni);
GConfig->GetBool( ImportSectionName, TEXT("IncludeCamera"), DefaultImportOptions.bIncludeCamera, DatasmithImporterIni);
GConfig->GetBool( ImportSectionName, TEXT("IncludeAnimation"), DefaultImportOptions.bIncludeAnimation, DatasmithImporterIni);
FString SceneHandling = GConfig->GetStr( ImportSectionName, TEXT("SceneHandling"), DatasmithImporterIni);
if(SceneHandling == TEXT("NewLevel"))