Commit 6cdeb206 by wester

testing fpr exposing API

parent 110727d8
......@@ -9,6 +9,8 @@
#include <string>
#include <vector>
#include "GLTFMeshBuilder.generated.h"
class UStaticMesh;
class UMaterialInterface;
struct FRawMesh;
......@@ -31,11 +33,14 @@ namespace tinygltf
}
/// Works in conjunction with TinyGLTF and Unreal's Static Mesh build system to return a UStaticMesh to the factory. This class is adapted from FbxImporter.
class GLTFMeshBuilder
UCLASS()
class GLTFLOADER_API UGLTFMeshBuilder : public UObject
{
GENERATED_BODY()
public:
GLTFMeshBuilder(FString FilePath);
~GLTFMeshBuilder();
UGLTFMeshBuilder();
UGLTFMeshBuilder(FString FilePath);
~UGLTFMeshBuilder();
/// Returns whether we have a valid glTF scene loaded up. For a new MeshBuilder, this should always be queried before calling other functions.
bool LoadedSuccessfully() { return LoadSuccess; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment