Commit 6cdeb206 by wester

testing fpr exposing API

parent 110727d8
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "GLTFMeshBuilder.generated.h"
class UStaticMesh; class UStaticMesh;
class UMaterialInterface; class UMaterialInterface;
struct FRawMesh; struct FRawMesh;
...@@ -31,11 +33,14 @@ namespace tinygltf ...@@ -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. /// 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: public:
GLTFMeshBuilder(FString FilePath); UGLTFMeshBuilder();
~GLTFMeshBuilder(); 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. /// 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; } 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