FFileReader::ReadFile

Loads the contents of a glTF file into the given asset.

Windows
MacOS
Linux

References

Module

GLTFCore

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

Syntax

void ReadFile
(
    const FString & InFilePath,
    bool bInLoadImageData,
    bool bInLoadMetadata,
    GLTF::FAsset & OutAsset
)

Remarks

Loads the contents of a glTF file into the given asset.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss