Navigation
API > API/Plugins > API/Plugins/GLTFCore > API/Plugins/GLTFCore/FFileReader
References
| Module | GLTFCore |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Parsers/GLTFCore/Public/GLTFReader.h |
| Include | #include "GLTFReader.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Parsers/GLTFCore/Private/GLTF/GLTFReader.cpp |
void ReadFile
&40;
const FString & InFilePath,
bool bInLoadImageData,
bool bInLoadMetadata,
GLTF::FAsset & OutAsset
&41;
Remarks
Loads the contents of a glTF file into the given asset.
Parameters
| Name | Description |
|---|---|
| InFilePath | disk file path |
| bInLoadImageData | if false then doesn't loads the data field of FImage |
| bInLoadMetadata | load extra asset metadata images from a disk path, images from data sources will always be loaded. |
| OutAsset | asset data destination |