Module |
|
Header |
/Engine/Plugins/Editor/GLTFImporter/Source/GLTFCore/Public/GLTFReader.h |
Include |
#include "GLTFReader.h" |
Source |
/Engine/Plugins/Editor/GLTFImporter/Source/GLTFCore/Private/GLTF/GLTFReader.cpp |
void ReadFile
(
const FString & InFilePath,
bool bInLoadImageData,
bool bInLoadMetadata,
GLTF::FAsset & OutAsset
)
Loads the contents of a glTF file into the given asset.
Parameter |
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 |